{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-82402", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "state": "PUBLISHED", "assignerShortName": "GitHub_M", "dateReserved": "2026-08-28T22:00:43.512Z", "datePublished": "2026-10-14T18:49:19.768Z", "dateUpdated": "2026-10-14T18:49:19.768Z" }, "containers": { "cna": { "title": "Gogs: Open Redirect in /redirect endpoint via backslash bypass in `IsSameSite`", "problemTypes": [ { "descriptions": [ { "cweId": "CWE-601", "lang": "en", "description": "CWE-601: URL Redirection to Untrusted Site ('Open Redirect')", "type": "CWE" } ] } ], "metrics": [ { "cvssV4_0": { "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "subIntegrityImpact": "LOW", "subAvailabilityImpact": "NONE", "baseScore": 5.3, "baseSeverity": "MEDIUM", "vectorString": "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", "version": "4.0" } } ], "references": [ { "name": "https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6" }, { "name": "https://github.com/gogs/gogs/pull/8391", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/gogs/gogs/pull/8391" }, { "name": "https://github.com/gogs/gogs/commit/0aa820e6d572771551871c0b5f5f32dffc565e3e", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/gogs/gogs/commit/0aa820e6d572771551871c0b5f5f32dffc565e3e" }, { "name": "https://github.com/gogs/gogs/blob/main/CHANGELOG.md#0150dev-main", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/gogs/gogs/blob/main/CHANGELOG.md#0150dev-main" } ], "affected": [ { "vendor": "gogs", "product": "gogs", "versions": [ { "version": "< 0.15.0+dev", "status": "affected" } ] } ], "providerMetadata": { "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2026-10-14T18:49:19.768Z" }, "descriptions": [ { "lang": "en", "value": "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." } ], "source": { "advisory": "GHSA-3g28-2vwg-gxq6", "discovery": "UNKNOWN" } } } }