{"id":"CVE-2026-82402","published":"2026-10-14T18:49:19Z","modified":"2026-10-20T01:58:51Z","title":"Gogs: Open Redirect in /redirect endpoint via backslash bypass in `IsSameSite`","vendor":"gogs","product":"gogs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00562,"percentile":0.40434,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gogs/gogs/pull/8391","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/commit/0aa820e6d572771551871c0b5f5f32dffc565e3e","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/blob/main/CHANGELOG.md#0150dev-main","tags":["x_refsource_MISC"]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":8.09},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"gogs","affectedVersions":[{"vendor":"gogs","product":"gogs","versions":["< 0.15.0+dev"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-20T01:58:24.208606Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-101576","exploited":false,"provenance":"source"}}