# CVE-2026-27779: Gitea forwarded-proto handling allows public URL spoofing

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.25.5 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-03 · Modified: 2026-07-06
- Aliases: GHSA-v8f2-2ghq-9whv, GO-2026-6345
- Record: https://cvemate.com/vulnerability/CVE-2026-27779 · JSON: https://cvemate.com/vulnerability/CVE-2026-27779/json

## Description

```text
Gitea versions before 1.25.5 accept malformed or injected forwarded-proto values when detecting public URLs, allowing spoofed canonical URL generation.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.431%, percentile 39.213%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea open source git server: \< 1.25.5
- code.gitea.io gitea (Go): \< 1.25.5

## References

- <https://github.com/go-gitea/gitea/pull/36810>
- <https://github.com/go-gitea/gitea/pull/36836>
- <https://github.com/go-gitea/gitea/releases/tag/v1.25.5>
- <https://blog.gitea.com/release-of-1.25.5/>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27779>
- <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>
- <https://github.com/go-gitea/gitea>
- <https://github.com/advisories/GHSA-v8f2-2ghq-9whv>

---

Data as of 2026-12-05T14:01:32.998Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
