{"schema":"threatline.record/2","record":{"id":"CVE-2026-82402","aliases":["GHSA-3g28-2vwg-gxq6"],"summary":"Gogs: Open Redirect in /redirect endpoint via backslash bypass in `IsSameSite`","details":"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.","categories":["Unclassified"],"product":"gogs","vendor":"gogs","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-82402","source_modified_at":"2026-10-20T01:58:51.683Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"gogs","vendor":"gogs","versions":[{"status":"affected","version":"< 0.15.0+dev"}],"defaultStatus":null},{"source":"GitHub Advisory Database","source_url":"https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6","source_modified_at":"2026-09-22T19:54:01Z","fetched_at":"2026-10-23T21:10:45.942435Z","package":{"ecosystem":"go","name":"gogs.io/gogs"},"range":"0.15.0+dev"}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6","source_modified_at":"2026-09-22T19:54:01Z","fetched_at":"2026-10-23T21:10:45.942435Z","package":{"ecosystem":"go","name":"gogs.io/gogs"},"version":"0.15.0+dev"}],"cvss":5.3,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00338,"percentile":0.25973,"score_date":"2026-10-23"},"published_at":"2026-10-14T18:49:19.768Z","modified_at":"2026-10-20T01:58:51.683Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-82402","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-20T01:58:51.683Z"},{"source":"GitHub Advisory Database","url":"https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6","fetched_at":"2026-10-23T21:10:45.942435Z","source_modified_at":"2026-09-22T19:54:01Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-82402","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6","tags":["exploit"]},{"source":"CVE List","url":"https://github.com/gogs/gogs/pull/8391","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/gogs/gogs/commit/0aa820e6d572771551871c0b5f5f32dffc565e3e","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/gogs/gogs/blob/main/CHANGELOG.md#0150dev-main","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-20T01:58:24.208606Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-20T01:58:51.683Z","content_hash":"5943daad199e71323ea005b709dbb4ed7d65310a02bea12b7f71cc38159af627"}}
