Advisory

GHSA-v8f2-2ghq-9whv

Also known as: CVE-2026-27779, GO-2026-6345

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-07-03 21:31 UTC
Modified
2026-09-10 15:25 UTC

Affected packages and fixes

code.gitea.io/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.25.5 (semver)

Fixed versions

1.25.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences