CVE-2026-22874
Gitea: Incomplete SSRF Protection in Webhook and Migration Allow-list Default Filter
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
Gitea versions up to and including 1.26.2 have incomplete SSRF protection in webhook and migration allow-list filtering.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | code.gitea.io/gitea | 1.26.3 |
| rapidfort alpine 3.20 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.21 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.22 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.23 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.24 | gitea | 1.27.1-r0 |
References
- https://blog.gitea.com/release-of-1.26.3-and-1.26.4
- https://blog.gitea.com/release-of-1.26.3-and-1.26.4/
- https://github.com/go-gitea/gitea
- https://github.com/go-gitea/gitea/pull/38059
- https://github.com/go-gitea/gitea/pull/38173
- https://github.com/go-gitea/gitea/releases/tag/v1.26.3
- https://github.com/go-gitea/gitea/security/advisories/GHSA-2r5c-gw76-rh3w
- https://nvd.nist.gov/vuln/detail/CVE-2026-22874