CVE-2022-1992
CRITICAL 9.1CVSS 3.1Path Traversal in file editor on Windows in Gogs
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
- Published
- 9 Jun 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-994f-7g86-qr56GO-2022-0570
- Sources
- NVDJSONOSV GHSA-994f-7g86-qr56JSONOSV GO-2022-0570JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 10.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gogs | gogscpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* |
< 0.12.9 | 0.12.9 |
| OSV | Go | gogs.io/gogs | < 0.12.9 | 0.12.9 |
References
- https://github.com/gogs/gogs/commit/2ca014250fbf0bba94c914d9e43b1f6d8eca3bb0 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/2e8cdc57-a9cf-46ae-9088-87f09e6c90ab · Exploit, Third Party Advisory, WEB
- https://github.com/gogs/gogs/security/advisories/GHSA-994f-7g86-qr56 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-1992 · ADVISORY
- https://github.com/gogs/gogs · PACKAGE
- https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 9 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Jun 2022)