What’s Vulnerable › Vulnerabilities
CVE-2022-0415: Remote Command Execution in uploading repository file in gogs/gogs
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 65.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-03-21 · updated 2026-06-17
- Weakness: CWE-20
Description
Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.
Affected products
- gogs: before 0.12.6 — fixed in 0.12.6
How to fix
Upgrade to a fixed version: gogs 0.12.6. Check the vendor advisory for mitigations.
References
- https://github.com/gogs/gogs/commit/0fef3c9082269e9a4e817274942a5d7c50617284
- https://huntr.dev/bounties/b4928cfe-4110-462f-a180-6d5673797902
- https://github.com/gogs/gogs/commit/0fef3c9082269e9a4e817274942a5d7c50617284
- https://huntr.dev/bounties/b4928cfe-4110-462f-a180-6d5673797902
Get alerted when CVE-2022-0415 or the next vulnerability affects your stack