GitHub Advisoryadvisory · Go
GHSA-v8f2-2ghq-9whv Gitea forwarded-proto validation allows canonical URL spoofing
HIGH
Official page ↗
- Aliases
- CVE-2026-27779
- Ecosystem
- Go
- Packages
- code.gitea.io/gitea
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-284
- Reviewed
- 2026-09-01
Affected packages
• Go code.gitea.io/gitea: < 1.25.5 → fixed in 1.25.5
Description
Gitea versions before 1.25.5 accept malformed or injected forwarded-proto values when detecting public URLs, allowing spoofed canonical URL generation.
Related
Alias · CVE (1)
- CVE-2026-27779 Gitea versions before 1.25.5 accept malformed or injected forwarded-proto values when detecting public URLs, allowing spoofed canonical URL… vulnerability
Weakness · CWE (1)
- CWE-284 Improper Access Control weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-27779 advisory
- https://github.com/go-gitea/gitea/pull/36810 web
- https://github.com/go-gitea/gitea/pull/36836 web
- https://github.com/go-gitea/gitea/commit/723ce3579f96e75fd12514283023a051a1432b1b web
- https://github.com/go-gitea/gitea/commit/e2517e0fa93177ef6947245eaeab543c95ef18ff web
- https://blog.gitea.com/release-of-1.25.5 web
- https://github.com/go-gitea/gitea package
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5 web