Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Gogs versions before 0.14.3 accept organization names containing path traversal sequences, so repositories created under such an organization are written to arbitrary locations on the server's filesystem. An authenticated user who can create organizations, which is the default setting for self-registered users, can abuse this to overwrite a repository's hooks configuration and achieve remote code execution as the git user. Upgrade to Gogs 0.14.3 or later. The source gives no workaround.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 10.0 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.011, the 66th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:05 UTC First seen by agentprime
- 31 Oct 2026, 15:05 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-c39w-43gm-34h5
- OSV: GHSA-c39w-43gm-34h5
- github.com/gogs/gogs/security/advisories/GHSA-c39w-43gm-34h5
- nvd.nist.gov/vuln/detail/CVE-2026-52813
- github.com/gogs/gogs/pull/8334
- github.com/gogs/gogs/commit/f6acd467305943aae8403cbac81f0118dd1235d7
- github.com/gogs/gogs
- github.com/gogs/gogs/releases/tag/v0.14.3