go-gitea/gitea · Security

Gitea forwarded-proto validation allows canonical URL spoofing

GHSA ID
GHSA-v8f2-2ghq-9whv
CVE ID
CVE-2026-27779
Severity
high
Published
Updated
CVSS
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v3
7.5 · 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.

CWEs

References