{"id":"CVE-2022-1993","aliases":["EUVD-2022-5965","GHSA-6vcc-v9vw-g2x5","GO-2022-0562"],"status":"published","title":"Path Traversal in gogs/gogs","description":"Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.36725,"percentile":0.98511,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2022-06-08T13:55:11Z","modified":"2026-10-28T02:30:26Z","fixes":[{"ecosystem":"Go","package":"gogs.io/gogs","fixed_in":["0.12.9"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"gogs.io/gogs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.9"}]}]},{"source":"osv","ecosystem":"Go","package":"gogs.io/gogs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.9"}]}]},{"source":"osv","ecosystem":"Go","package":"gogs.io/gogs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.9"}]}]}],"products":[{"vendor":"gogs","product":"gogs"},{"vendor":"gogs","product":"gogs/gogs"}],"references":[{"url":"https://huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/gogs/gogs/commit/9bf748b6c4c9a17d3aa77f6b9abcfae65451febf","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-6vcc-v9vw-g2x5","tags":["web","advisory"]},{"url":"https://github.com/gogs/gogs/issues/7002","tags":["web"]},{"url":"https://huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d/"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1993","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6vcc-v9vw-g2x5"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1993.json","tags":["advisory"]},{"url":"https://github.com/gogs/gogs","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-1993","title":"Path Traversal in gogs/gogs","description":"Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.","status":"published","published":"2022-06-08T13:55:11Z","modified":"2024-08-03T00:24:44.031Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:38.263045Z"}],"euvd":[{"id":"EUVD-2022-5965","description":"Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.","status":"published","published":"2022-06-08T13:55:11Z","modified":"2024-08-03T00:24:44Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T03:25:58.940602Z"}],"ghsa":[{"id":"GHSA-6vcc-v9vw-g2x5","title":"Path Traversal in Git HTTP endpoints in Gogs","description":"### Impact\n\nThe malicious user is able to craft HTTP requests to access unauthorized Git directories. All installations with are affected.\n\n### Patches\n\nPath cleaning has accommodated for Git HTTP endpoints. Users should upgrade to 0.12.9 or the latest 0.13.0+dev.\n\n### Workarounds\n\nN/A\n\n### References\n\nhttps://huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d/\n\n### For more information\n\nIf you have any questions or comments about this advisory, please post on #7002.\n","status":"published","published":"2022-06-08T22:34:23Z","modified":"2023-01-27T05:03:27Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:20.144464Z"}],"nvd":[{"id":"CVE-2022-1993","description":"Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.","status":"published","published":"2022-06-09T17:15:08.733Z","modified":"2026-06-17T04:23:29.09Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"2.0","score":5.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:21.62951Z"}],"osv":[{"id":"CVE-2022-1993","title":"Path Traversal in gogs/gogs","description":"Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.","status":"published","published":"2022-06-08T13:55:11Z","modified":"2026-10-28T02:30:26.657866993Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:23.655778Z"},{"id":"GHSA-6vcc-v9vw-g2x5","title":"Path Traversal in Git HTTP endpoints in Gogs","description":"### Impact\n\nThe malicious user is able to craft HTTP requests to access unauthorized Git directories. All installations with are affected.\n\n### Patches\n\nPath cleaning has accommodated for Git HTTP endpoints. Users should upgrade to 0.12.9 or the latest 0.13.0+dev.\n\n### Workarounds\n\nN/A\n\n### References\n\nhttps://huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d/\n\n### For more information\n\nIf you have any questions or comments about this advisory, please post on #7002.\n","status":"published","published":"2022-06-08T22:34:23Z","modified":"2024-08-21T15:26:38.754648Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:39.965326Z"},{"id":"GO-2022-0562","title":"Path Traversal in Git HTTP endpoints in Gogs in gogs.io/gogs","description":"Path Traversal in Git HTTP endpoints in Gogs in gogs.io/gogs","status":"published","published":"2024-08-21T15:11:36Z","modified":"2026-03-03T04:50:33.162998Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
