CVE-2022-2024Gogs OS Command Injection
Gogs OS Command Injection vulnerability
Published Feb 25, 2023 · Updated Oct 28, 2026 · Also known as GHSA-pfvh-p8qp-9ww9, GO-2023-1596
Key Facts
Patch immediately- CVE-2022-2024 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Gogs, gogs.io/gogs, gogs/gogs.
- It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 98% probability of exploitation in the next 30 days.
- Fixed versions are available, including Gogs 0.12.11, gogs.io/gogs 0.12.11, gogs/gogs 0.12.11.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
98%
Higher than 99.9% of all scored CVEs
Exploit maturity
None known
ATLAS score
40/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
OS Command Injection in GitHub repository gogs/gogs prior to 0.12.11.
Affected Products
11 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GogsGogs | See advisory | 0.12.11 |
| gogs.io/gogsgo | See advisory | 0.12.11 |
| gogs/gogs | >= unspecified | 0.12.11 |
Patched Releases
Gogs
0.12.11
gogs.io/gogs
0.12.11
gogs/gogs
0.12.11
Timeline
Publicly disclosed
Feb 25, 2023
Last updated
Oct 28, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-2024
- advisoryGHSA advisory
- articlegithub.com · app.ini
- articlegithub.com · 15d0d6a
FAQ
Common Questions.
OS Command Injection in GitHub repository gogs/gogs prior to 0.12.11.
Affected: Gogs; gogs.io/gogs; gogs/gogs versions >= unspecified. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including Gogs 0.12.11, gogs.io/gogs 0.12.11, gogs/gogs 0.12.11.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-2024 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo