CVE-2026-82402
Last modified
CVE-2026-82402 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | < 0.15.0+dev |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-82402?
How severe is CVE-2026-82402?
How do I fix CVE-2026-82402?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-82395Sulu is an open-source PHP content management system based o…5.3
- CVE-2026-82396Sulu is an open-source PHP content management system based o…5.4
- CVE-2026-82397Tornado is a Python web framework and asynchronous networkin…7.5
- CVE-2026-82398pypdf is a free and open-source pure-python PDF library. Pri…5.3
- CVE-2026-82399CoreDNS is a DNS server written in Go. Prior to 1.14.7, the …7.5
- CVE-2026-8240Concrete CMS 9.5.0 and below is vulnerable to unauthenticate…5.3
- CVE-2026-82404TOON is a compact, human-readable serialization of JSON data…8.3
- CVE-2026-82405Klever-Go is the Go implementation of the Klever blockchain …8.7
- CVE-2026-82406Klever-Go is the Go implementation of the Klever blockchain …7.1
- CVE-2026-82407Klever-Go is the Go implementation of the Klever blockchain …7
- CVE-2026-82409Klever-Go is the Go implementation of the Klever blockchain …8.4
- CVE-2026-8241A vulnerability has been found in Industrial Application Sof…5.5
Are you affected by CVE-2026-82402?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
