CVE-2026-27779
HIGH 7.5CVSS 3.1Gitea forwarded-proto validation allows canonical URL spoofing
Gitea versions before 1.25.5 accept malformed or injected forwarded-proto values when detecting public URLs, allowing spoofed canonical URL generation.
- Published
- 3 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- NVD status
- Deferred
- Weakness
- CWE-284
- Also known as
- GHSA-v8f2-2ghq-9whvGO-2026-6345
- Sources
- NVDJSONOSV GHSA-v8f2-2ghq-9whvJSONOSV GO-2026-6345JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | code.gitea.io/gitea | < 1.25.5 | 1.25.5 |
References
- https://blog.gitea.com/release-of-1.25.5/ · WEB
- https://github.com/go-gitea/gitea/pull/36810 · WEB
- https://github.com/go-gitea/gitea/pull/36836 · WEB
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27779 · ADVISORY
- https://github.com/go-gitea/gitea/commit/723ce3579f96e75fd12514283023a051a1432b1b · WEB
- https://github.com/go-gitea/gitea/commit/e2517e0fa93177ef6947245eaeab543c95ef18ff · WEB
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-v8f2-2ghq-9whv · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 3 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Jul 2026)