GHSA-v8f2-2ghq-9whv

Gitea forwarded-proto validation allows canonical URL spoofing

At a glance

Published
Updated
CVE
CVE-2026-27779
Aliases
GO-2026-6345
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

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

Affected packages

PackageVersions
Go · code.gitea.io/giteaintroduced 0, fixed 1.25.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database