CVE-2024-55947
published high CVSS 4.0 · 8.7Gogs has a Path Traversal in file update API
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gogs | — | gogs< 0.13.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP6 | govulncheck-vulndbnoarch | Advisory build | 0.0.20250108T191942-150000.1.26.1 | SUSE-SU-2025:0060-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | govulncheck-vulndbnoarch | Advisory build | 0.0.20250108T191942-150000.1.26.1 | SUSE-SU-2025:0060-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20250108T191942-1.1 | OPENSUSE-SU-2025:14624-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20250108T191942-1.1 | OPENSUSE-SU-2025:14624-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20250108T191942-1.1 | OPENSUSE-SU-2025:14624-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20250108T191942-1.1 | OPENSUSE-SU-2025:14624-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gogs | gogs | < 0.13.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4Provider assertions
2GitHub_M · cna
Gogs has a Path Traversal in file update API
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a389073c36102d672491b28fec5eb750231257bc1060d0a693f69e3b972c22f6
- Ingested
- 23 Sep 2026, 08:31:43 UTC
- Source record
- Official CVE record