CVE-2026-82402

Gogs is an open source self-hosted Git service. Prior to 0.15.0+dev, an unauthenticated attacker can provide a backslash-containing target to the /redirect endpoint, and similar post-action redirect flows are also affected. internal/urlx/urlx.go IsSameSite validates a normalized form of the target while cmd/gogs/internal/web/web.go getRedirect and other callers use the original value in the Location response. This backslash normalization mismatch lets browsers interpret the Location value as a scheme-relative external URL, allowing links on a trusted Gogs domain to redirect victims to attacker-controlled content for phishing. This vulnerability is fixed in 0.15.0+dev.
CVSS

No CVSS.

Configurations

No configuration.

History

20 Oct 2026, 02:17

Type Values Removed Values Added
References () https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6 - () https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6 -

14 Oct 2026, 19:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-14 19:17

Updated : 2026-10-20 02:17


NVD link : CVE-2026-82402

Mitre link : CVE-2026-82402

CVE.ORG link : CVE-2026-82402


JSON object : View

Products Affected

No product.

CWE
CWE-601

URL Redirection to Untrusted Site ('Open Redirect')