CVEvulnerability
CVE-2026-52813
10.0 CRITICAL
Official page ↗
- Status
- Deferred
- Published
- 2026-06-24
- Last modified
- 2026-06-26
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 10.0 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-23
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
Weakness · CWE (1)
- CWE-23 Relative Path Traversal weakness
References
- https://github.com/gogs/gogs/commit/f6acd467305943aae8403cbac81f0118dd1235d7 github.com
- https://github.com/gogs/gogs/pull/8334 github.com
- https://github.com/gogs/gogs/releases/tag/v0.14.3 github.com
- https://github.com/gogs/gogs/security/advisories/GHSA-c39w-43gm-34h5 github.com
- https://github.com/gogs/gogs/security/advisories/GHSA-c39w-43gm-34h5 github.com