Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The Go module gogs.io/gogs versions before 0.12.9 are affected by an OS command injection flaw in the file editor. The source gives few details beyond this, so it does not say what access an attacker needs or exactly what they can do. Upgrade to gogs.io/gogs version 0.12.9 or later.
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.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | CNA (@huntrdev) |
- CISA KEV Not listed.
- EPSS 0.042, the 91st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
Sources
- GitHub Advisory Database: GHSA-67mx-jc2f-jgjm
- OSV: GHSA-67mx-jc2f-jgjm
- github.com/gogs/gogs/security/advisories/GHSA-67mx-jc2f-jgjm
- nvd.nist.gov/vuln/detail/CVE-2022-1986
- github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129
- github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82
- huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930