CVE-2026-82402: gogs Open Redirect
Vulnerability summary
CVE-2026-82402 is a medium (CVSS 5.3) Open Redirect vulnerability in gogs. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 25.6% of scored vulnerabilities.
Timeline
- 14-10-2026PublishedVulnerability first disclosed.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.3MediumCVSS: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
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Gogs1 product
- gogs< 0.15.0+dev
1 vendor · 1 product
References
4 links- github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6X Refsource CONFIRM
- github.com/gogs/gogs/pull/8391X Refsource MISC
- github.com/gogs/gogs/blob/main/CHANGELOG.mdX Refsource MISC