CVE-2022-1993
Path Traversal in gogs/gogs
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
8.1
Path Traversal in gogs/gogs
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
- Record
CVE-2022-1993- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2022-5965
8.1
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
- Record
EUVD-2022-5965- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6vcc-v9vw-g2x5
8.1
Path Traversal in Git HTTP endpoints in Gogs
Impact
The malicious user is able to craft HTTP requests to access unauthorized Git directories. All installations with are affected.
Patches
Path cleaning has accommodated for Git HTTP endpoints. Users should upgrade to 0.12.9 or the latest 0.13.0+dev.
Workarounds
N/A
References
https://huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d/
For more information
If you have any questions or comments about this advisory, please post on #7002.
- Record
GHSA-6vcc-v9vw-g2x5- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
NVD
8.1
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
- Record
CVE-2022-1993- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - CVSS 2.0
- 5.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSV
8.1
Path Traversal in gogs/gogs
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
- Record
CVE-2022-1993- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVGHSA-6vcc-v9vw-g2x5
8.1
Path Traversal in Git HTTP endpoints in Gogs
Impact
The malicious user is able to craft HTTP requests to access unauthorized Git directories. All installations with are affected.
Patches
Path cleaning has accommodated for Git HTTP endpoints. Users should upgrade to 0.12.9 or the latest 0.13.0+dev.
Workarounds
N/A
References
https://huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d/
For more information
If you have any questions or comments about this advisory, please post on #7002.
- Record
GHSA-6vcc-v9vw-g2x5- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVGO-2022-0562 No score
Path Traversal in Git HTTP endpoints in Gogs in gogs.io/gogs
Path Traversal in Git HTTP endpoints in Gogs in gogs.io/gogs
- Record
GO-2022-0562- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gogs.io/gogsGo |
before 0.12.9 | 0.12.9 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-1993 is a high vulnerability (CVSS 8.1) in Gogs, published June 8, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 36.7%, the 98th percentile. Fixed in gogs.io/gogs 0.12.9.
References
huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d
github.com/gogs/gogs/commit/9bf748b6c4c9a17d3aa77f6b9abcfae65451febf
github.com/gogs/gogs/security/advisories/GHSA-6vcc-v9vw-g2x5
github.com/gogs/gogs/issues/7002
nvd.nist.gov/vuln/detail/CVE-2022-1993
github.com/advisories/GHSA-6vcc-v9vw-g2x5
github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1993.json
github.com/gogs/gogs