{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-82402","id":"CVE-2026-82402","title":"Gogs: Open Redirect in /redirect endpoint via backslash bypass in `IsSameSite`","description":"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 Locati","descriptionLong":"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.","published":"2026-10-14T18:49:19.768Z","updated":"2026-10-28T02:31:14.658951347Z","reserved":"2026-08-28T22:00:43.512Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.3,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.3,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":5.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"}],"rating":"medium","products":["gogs"],"affectedProducts":[{"vendor":"gogs","product":"gogs","defaultStatus":null,"versions":[{"version":"< 0.15.0+dev","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-601"],"aliases":["GHSA-3g28-2vwg-gxq6"],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6","tags":["x_refsource_CONFIRM","exploit","advisory"]},{"url":"https://github.com/gogs/gogs/pull/8391","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/gogs/gogs/commit/0aa820e6d572771551871c0b5f5f32dffc565e3e","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/gogs/gogs/blob/main/CHANGELOG.md#0150dev-main","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82402.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82402","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00435,"epssPercentile":0.38519,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-82402","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82402","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-82402","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-82402","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}