What’s Vulnerable › Vulnerabilities
CVE-2022-1986: OS Command Injection in gogs/gogs
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-06-09 · updated 2026-06-17
- Weakness: CWE-78
Description
OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9.
Affected products
- gogs: before 0.12.9 — fixed in 0.12.9
How to fix
Upgrade to a fixed version: gogs 0.12.9. Check the vendor advisory for mitigations.
References
- https://github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82
- https://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930
- https://github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82
- https://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930
Get alerted when CVE-2022-1986 or the next vulnerability affects your stack