CVE-2024-54148
published high CVSS 4.0 · 8.7Gogs has a Path Traversal in file editing UI
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 commit and edit a crafted symlink file to a repository 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | CISA-ADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
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
2- CWE-61 CWE-61: UNIX Symbolic Link (Symlink) Following
- 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 editing UI
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 448cd31f9334c487056f6d91ffe74ce85aa8efc751fce80c490a4fa7977fa83c
- Ingested
- 23 Sep 2026, 08:31:11 UTC
- Source record
- Official CVE record