Skip to content
OpenAdvisories
High · 8.7 Public exploit CVE-2024-55947 EUVD-2024-3608GHSA-qf5v-rp47-55ggGO-2024-3356

Gogs has a Path Traversal in file update API

Published Dec 23, 2024 · Updated Dec 24, 2024 · Assigned by GitHub_M

Description

Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1.

Affected products

VendorProductAffectedFixed
gogs gogs < 0.13.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250108T191942-150000.1.26.1 SUSE-SU-2025:0060-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250108T191942-1.1 openSUSE-SU-2025:14624-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250108T191942-150000.1.26.1 SUSE-SU-2025:0060-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • ferralon-demo/gogs-symlink-chain ★ 0 · Jun 23, 2026

    Tegron demo: PoE → incomplete-patch → PoNE chain on Gogs symlink arbitrary-file-write (CVE-2024-55947 → CVE-2025-8110)

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go gogs.io/gogs < 0.13.1 0.13.1 GHSA-qf5v-rp47-55gg

Advisories 2

References