CVE-2022-1992 json
Path Traversal in gogs/gogs
published 2022-06-08 4 y ago modified 2026-06-17 4 mo ago also GHSA-994f-7g86-qr56 , GO-2022-0570 , EUVD-2022-6005
- cvss
- 10.0
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
Patch / fix
Exploit prediction
2.31% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/2e8cdc57-a9cf-46ae-9088-87f09e6c90ab referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 10.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gogs.io/gogs | <0.12.9 |
0.12.9 |
Affected products
- gogs gogs/gogs
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/gogs/gogs/commit/2ca014250fbf0bba94c914d9e43b1f6d8eca3bb0
web, patch, third-party-advisory
-
huntr.dev
/bounties/2e8cdc57-a9cf-46ae-9088-87f09e6c90ab
web, exploit, third-party-advisory
-
github.com
/gogs/gogs/security/advisories/GHSA-994f-7g86-qr56
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-1992
advisory
-
github.com
/gogs/gogs
package
-
github.com
/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129
web
Sources
- CVE List CVE-2022-1992
- GitHub Advisory GHSA-994f-7g86-qr56
- NVD CVE-2022-1992
- OSV GO-2022-0570
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.