# CVE-2022-1993: Path Traversal in gogs/gogs

- Severity: High 8.1 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 36.7%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-08T13:55:11.000Z
- Modified: 2026-06-17T04:23:29.090Z
- Also known as: GHSA-6vcc-v9vw-g2x5, GO-2022-0562
- Weaknesses: CWE-22
- Assigned by: @huntrdev

## Description

Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.

(As written by CVE List.)

## Affected

- gogs gogs/gogs: from unspecified before 0.12.9
- gogs.io/gogs (Go): before 0.12.9
- gogs gogs: before 0.12.9

## Every score

- @huntrdev: 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`
- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:N`

## References

- <https://huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d> (exploit, third-party-advisory, web)
- <https://github.com/gogs/gogs/commit/9bf748b6c4c9a17d3aa77f6b9abcfae65451febf> (patch, third-party-advisory, web)
- <https://github.com/gogs/gogs/security/advisories/GHSA-6vcc-v9vw-g2x5> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1993> (advisory)
- <https://github.com/gogs/gogs/issues/7002> (web)
- <https://github.com/gogs/gogs> (package)

## Sources

- CVE List: [CVE-2022-1993](https://www.cve.org/CVERecord?id=CVE-2022-1993), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-6vcc-v9vw-g2x5](https://github.com/advisories/GHSA-6vcc-v9vw-g2x5), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0562](https://pkg.go.dev/vuln/GO-2022-0562), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-1993](https://nvd.nist.gov/vuln/detail/CVE-2022-1993), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1993 · Whole record: https://cve.day/CVE-2022-1993.json · Rebuilt by cve.day 2026-11-25T22:58:12.193Z
