Skip to content
OpenAdvisories
High · 7.5 CVE-2026-27779 EUVD-2026-41637GHSA-v8f2-2ghq-9whvGO-2026-6345

Gitea forwarded-proto handling allows public URL spoofing

Published Jul 3, 2026 · Updated Jul 6, 2026 · Assigned by Gitea

Description

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

Affected products

VendorProductAffectedFixed
Gitea Gitea Open Source Git Server < 1.25.5 1.25.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 SUSE-SU-2026:23863-1, SUSE-SU-2026:23855-1
SLES 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 SUSE-SU-2026:23863-1, SUSE-SU-2026:23855-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 openSUSE-SU-2026:21897-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.25.5 1.25.5 GHSA-v8f2-2ghq-9whv

Advisories 4

References