CVE-2026-82402Gogs open redirect
CVSS score
5.3
Medium
CVSS 4.0 from github.com
Exploit probability (EPSS)
0.43%
0.43% chance of exploitation in the next 30 days, higher than 38.5% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Gogs and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| Gogs Gogs | < 0.15.0+dev |
Weakness
- CWE-601 open redirect
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-82402 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-82402?
CVE-2026-82402 has a CVSS 4.0 base score of 5.3 (medium).
Which versions are affected?
Gogs Gogs (< 0.15.0+dev)
Is there a patch for CVE-2026-82402?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.