CRITICAL
OS Command Injection in gogs/gogs
Published Jun 9, 2022
9.8
CRITICALCVSS 3.1
EPSS 4.49%
Description
OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9.
Affected products
-
- Version unspecifiedStatusaffectedConstraints<0.12.9
- Version
No data.
No Red Hat product state for this CVE.
gogs.io/gogs
Go
Introduced 0 Fixed 0.12.9
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | gogs.io/gogs | 0 | 0.12.9 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
9.8 CRITICAL NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
10.0 CRITICAL NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Changed
Confidentiality Impact High
Integrity Impact High
Availability Impact High
7.5 HIGH NVD
AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
4.49% 0.04486
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
EPSS probability 0.04486
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (24 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.49% (0.04486) | 91.17th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.52% (0.04520) | 90.28th | v5 (v2026.06.15) |
| May 8, 2026 | 9.23% (0.09234) | 92.76th | v4 (v2025.03.14) |
| Feb 18, 2026 | 7.51% (0.07513) | 91.61th | v4 (v2025.03.14) |
| Dec 3, 2025 | 13.86% (0.13864) | 94.08th | v4 (v2025.03.14) |
| Jun 16, 2025 | 16.27% (0.16268) | 94.49th | v4 (v2025.03.14) |
| Jun 15, 2025 | 5.72% (0.05723) | 89.97th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.35% (0.02348) | 83.45th | v4 (v2025.03.14) |
| Mar 29, 2025 | 31.03% (0.31029) | 94.87th | v4 (v2025.03.14) |
| Mar 24, 2025 | 2.35% (0.02348) | 83.40th | v4 (v2025.03.14) |
| Mar 23, 2025 | 9.53% (0.09533) | 91.64th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.35% (0.02348) | 83.78th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.30% (0.00304) | 70.53th | v3 (v2023.03.01) |
| Apr 10, 2024 | 0.25% (0.00248) | 64.31th | v3 (v2023.03.01) |
| Jan 14, 2024 | 0.24% (0.00244) | 62.29th | v3 (v2023.03.01) |
| Dec 30, 2023 | 0.23% (0.00231) | 61.25th | v3 (v2023.03.01) |
| Nov 19, 2023 | 0.18% (0.00176) | 54.71th | v3 (v2023.03.01) |
| Jul 11, 2023 | 0.16% (0.00159) | 51.38th | v3 (v2023.03.01) |
| Jun 15, 2023 | 0.14% (0.00141) | 48.70th | v3 (v2023.03.01) |
| May 9, 2023 | 0.12% (0.00116) | 44.08th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.09% (0.00094) | 38.35th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.05% (0.02055) | 79.82th | v2 (v2022.01.01) |
| Jun 16, 2022 | 2.05% (0.02055) | 78.32th | v2 (v2022.01.01) |
| Jun 9, 2022 | 1.00% (0.01005) | 34.81th | v2 (v2022.01.01) |
Weaknesses (1)
References (6)
- https://github.com/advisories/GHSA-67mx-jc2f-jgjm Advisory
- https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129
- https://github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82 x_refsource_MISCPatchThird Party Advisory
- https://github.com/gogs/gogs/security/advisories/GHSA-67mx-jc2f-jgjm
- https://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930 x_refsource_CONFIRMExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-1986
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-67mx-jc2f-jgjm | Advisory | |
| https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129 | ||
| https://github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/gogs/gogs/security/advisories/GHSA-67mx-jc2f-jgjm | ||
| https://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930 | x_refsource_CONFIRMExploitThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-1986 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner @huntrdev
Published Jun 9, 2022
Updated Aug 3, 2024
Reserved Jun 3, 2022
Link CVE-2022-1986
CISA Vulnrichment
GHSA-67MX-JC2F-JGJM Updated n/a