Vulnerability advisory
CVE-2026-27779
Gitea forwarded-proto handling allows public URL spoofing
Also known as GHSA-v8f2-2ghq-9whvGO-2026-6345
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before f913d90ab664c1deccdfbe8c563abb13e897d62b | f913d90ab664c1deccdfbe8c563abb13e897d62b |
Also listed as affected (44)
| |
Description
Gitea versions before 1.25.5 accept malformed or injected forwarded-proto values when detecting public URLs, allowing spoofed canonical URL generation.
References
- Advisoryblog.gitea.com/release-of-1.25.5/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27779.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.25.5 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-27779 ↗
- Fixgithub.com/go-gitea/gitea/pull/36810 ↗
- Fixgithub.com/go-gitea/gitea/pull/36836 ↗