{"id":"GHSA-v8f2-2ghq-9whv","summary":"Gitea forwarded-proto validation allows canonical URL spoofing","details":"Gitea versions before 1.25.5 accept malformed or injected forwarded-proto values when detecting public URLs, allowing spoofed canonical URL generation.","aliases":["CVE-2026-27779","GO-2026-6345"],"modified":"2026-09-10T15:25:58.380895208Z","published":"2026-07-03T21:31:38Z","database_specific":{"nvd_published_at":"2026-07-03T21:16:59Z","cwe_ids":["CWE-284"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-09-01T17:23:55Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27779"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/36810"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/36836"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/723ce3579f96e75fd12514283023a051a1432b1b"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/e2517e0fa93177ef6947245eaeab543c95ef18ff"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.25.5"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.5"}],"affected":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-v8f2-2ghq-9whv/GHSA-v8f2-2ghq-9whv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}