CVE-2026-27779 Gitea forwarded-proto handling allows public URL spoofing
HighCVSS 7.5
EPSS 0.58%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
Gitea versions before 1.25.5 accept malformed or injected forwarded-proto values when detecting public URLs, allowing spoofed canonical URL generation.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea(Go) | < 1.25.5 | 1.25.5 | Fixed |
| Gitea Open Source Git Server | < 1.25.5 | 1.25.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/gitea(Go) | < 1.25.5 | 1.25.5 |
| Gitea Open Source Git Server | < 1.25.5 | 1.25.5 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- GitHub Pull Request #36810 patch
- GitHub Pull Request #36836 patch
- github.com patch
- github.com patch
- Gitea v1.25.5 Release Blog Post release-notes
- github.com product
- Gitea v1.25.5 Release release-notes
- github.com vendor-advisory