{"schemaVersion":3,"id":"CVE-2026-82402","aliases":[],"status":"published","duplicateOf":null,"title":null,"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 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.","dates":{"published":"2026-10-14T18:49:19.768Z","modified":"2026-10-14T18:49:19.768Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00338,"percentile":0.2571,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-15T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00338,"percentile":0.2571}],"last30":[{"date":"2026-10-15T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00338,"percentile":0.2571}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site ('Open Redirect')","description":"The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/601.html"}],"affected":[{"vendor":"gogs","product":"gogs","name":"Gogs","label":"gogs","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.15.0+dev","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.15.0+dev","eol":null,"hubHref":"/vendor/gogs/gogs"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6","label":"github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/gogs/gogs/pull/8391","label":"github.com/gogs/gogs/pull/8391","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/gogs/gogs/commit/0aa820e6d572771551871c0b5f5f32dffc565e3e","label":"github.com/gogs/gogs/commit/0aa820e6d572771551871c0b5f5f32dffc565e3e","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/gogs/gogs/blob/main/CHANGELOG.md#0150dev-main","label":"github.com/gogs/gogs/blob/main/CHANGELOG.md","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-14T18:49:19.768Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T17:42:14.782Z","stale":false,"partial":false}}