# CVE-2026-22874: Gitea webhook and migration allow-list filtering permits SSRF

- Severity: Critical 9.6 (CVSS:3.1, scored by Gitea) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/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): 0.58%, higher than 42% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-03T20:19:31.006Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-2r5c-gw76-rh3w, GO-2026-6030
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Gitea

## Description

Gitea versions up to and including 1.26.2 have incomplete SSRF protection in webhook and migration allow-list filtering.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: up to 1.26.2
- code.gitea.io/gitea (Go): before 1.26.3

## Every score

- Gitea: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-2r5c-gw76-rh3w> (exploit, advisory, vendor-advisory, web)
- <https://github.com/go-gitea/gitea/pull/38173> (patch, web)
- <https://github.com/go-gitea/gitea/pull/38059> (patch, web)
- <https://github.com/go-gitea/gitea/releases/tag/v1.26.3> (release-notes, web)
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4/> (release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22874> (advisory)
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4> (web)
- <https://github.com/go-gitea/gitea> (package)

## Sources

- CVE List: [CVE-2026-22874](https://www.cve.org/CVERecord?id=CVE-2026-22874), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-2r5c-gw76-rh3w](https://github.com/advisories/GHSA-2r5c-gw76-rh3w), CC-BY-4.0, modified 2026-07-22
- Go Vulnerability Database: [GO-2026-6030](https://pkg.go.dev/vuln/GO-2026-6030), CC-BY-4.0, modified 2026-07-22
- NVD: [CVE-2026-22874](https://nvd.nist.gov/vuln/detail/CVE-2026-22874), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-22874 · Whole record: https://cve.day/CVE-2026-22874.json · Rebuilt by cve.day 2026-11-25T22:59:27.108Z
