Gogs is an open source self-hosted Git service. Prior to 0.14.0, as an authorized user, an intruder can dictate the value which is passed to the git diff command which, together with bypassing the filtering of the passed value, allows the user to bypass the target directory and write the result of the comparison to any arbitrary path. This vulnerability is fixed in 0.14.0.
References
Configurations
No configuration.
History
25 Jun 2026, 13:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/gogs/gogs/security/advisories/GHSA-pm6v-2h4w-4rp2 - |
24 Jun 2026, 21:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-24 21:16
Updated : 2026-06-25 14:19
NVD link : CVE-2026-52797
Mitre link : CVE-2026-52797
CVE.ORG link : CVE-2026-52797
JSON object : View
Products Affected
No product.
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
