CVE-2026-52813
published critical CVSS 3.1 · 10.0Gogs: Path Traversal in organization name results in RCE through Git hooks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gogs | — | gogs< 0.14.3 | Affected | Not stated | GitHub_M |
Description
Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization names containing path traversal sequences (../) are accepted by Gogs, and repositories under them are written to paths following these path traversals. This allows storing/retrieving data for repositories at arbitrary locations on the filesystem. By creating nested structure of Git repositories, one can overwrite the other's hooks configuration to result in Remote Code Execution (RCE). This vulnerability is fixed in 0.14.3.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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.14.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-23 CWE-23: Relative Path Traversal
References
4Provider assertions
2GitHub_M · cna
Gogs: Path Traversal in organization name results in RCE through Git hooks
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1e02b7df8c9c76b01088eaccfe57a6326636ffe396b8fff3ac0d1e8a45cfc43d
- Ingested
- 23 Sep 2026, 09:19:36 UTC
- Source record
- Official CVE record