SSRF in Gitea Open Source Git Server
CVE-2026-22874
Gitea versions up to and including 1.26.2 have incomplete SSRF protection in webhook and migration allow-list filtering.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.005, 40.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gitea Open Source Git Server — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- M8seven/cve-2026-22874-gitea-ssrf-allowlist (2 stars, last pushed 2026-07-04): CVE-2026-22874 writeup: incomplete SSRF allow-list in Gitea webhook/migration (IPv6 transition and cloud metadata). Fixed in Gitea 1.26.3.
- Eliot-code/CVE-2026-22874-PoC (last pushed 2026-07-05)
References
- GitHub Security Advisory (vendor-advisory)
- GitHub Pull Request #38173 (patch)
- GitHub Pull Request #38059 (patch)
- Gitea v1.26.3 Release (release-notes)
- Gitea v1.26.4 Release Blog Post (release-notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.