high7.5
CVE-2026-27779
Gitea versions before 1.25.5 accept malformed or injected forwarded-proto values when detecting public URLs, allowing spoofed canonical URL generation.
Impact
Gitea versions before 1.25.5 accept malformed or injected forwarded-proto values when detecting public URLs, allowing spoofed canonical URL generation.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | < 1.25.5 | 1.25.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-v8f2-2ghq-9whv
- https://nvd.nist.gov/vuln/detail/CVE-2026-27779
- https://github.com/go-gitea/gitea/pull/36810
- https://github.com/go-gitea/gitea/pull/36836
- https://blog.gitea.com/release-of-1.25.5
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5
- https://github.com/go-gitea/gitea/commit/723ce3579f96e75fd12514283023a051a1432b1b
- https://github.com/go-gitea/gitea/commit/e2517e0fa93177ef6947245eaeab543c95ef18ff
- https://blog.gitea.com/release-of-1.25.5/