CVE-2022-1986
CRITICAL9.8EPSS 9.2%OS Command Injection in file editor in Gogs in gogs.io/gogs
Published: 6/8/2022Modified: 3/3/2026
Description
OS Command Injection in file editor in Gogs in gogs.io/gogs
Affected packages (2)
- Go/gogs.io/gogsfrom 0, < 0.12.9
- Go/gogs.io/gogsfrom 0, < 0.12.9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-1986
- PATCHhttps://github.com/gogs/gogs
- WEBhttps://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129
- WEBhttps://github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82
- WEBhttps://github.com/gogs/gogs/security/advisories/GHSA-67mx-jc2f-jgjm
- WEBhttps://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930