๐Ÿ” CVE Alert

CVE-2026-82402

UNKNOWN 0.0

Gogs: Open Redirect in /redirect endpoint via backslash bypass in `IsSameSite`

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-601
Vendor gogs
Product gogs
Published Oct 14, 2026
Stay Ahead of the Next One

Get instant alerts for gogs gogs

Be the first to know when new unknown vulnerabilities affecting gogs gogs are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

gogs / gogs
< 0.15.0+dev

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6 github.com: https://github.com/gogs/gogs/pull/8391 github.com: https://github.com/gogs/gogs/commit/0aa820e6d572771551871c0b5f5f32dffc565e3e github.com: https://github.com/gogs/gogs/blob/main/CHANGELOG.md#0150dev-main