Open redirect vulnerability in Gogs before 0.12 allows remote attackers to redirect users…
Priority LOW 30CWE-601Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-601.
Summary
Open redirect vulnerability in Gogs before 0.12 allows remote attackers to redirect users to arbitrary websites and conduct phishing attacks via an initial /\ substring in the user/login redirect_to parameter, related to the function isValidRedirect in routes/user/auth.go.
Why it matters now
EPSS 0.01316 70th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed gogs.io/gogs (Go): 0.12.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | gogs.io/gogs (Go) | before 0.12.0 | 0.12.0 | Patch available | GHSA-cpgw-2wxr-pww3 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- gogs.io/gogs (Go) Vendor— Affected before 0.12.0 Fixed in 0.12.0 Patch available GHSA-cpgw-2wxr-pww3
Remediation
- Fix · GHSA-cpgw-2wxr-pww3 gogs.io/gogs (Go) Fixed in 0.12.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-15178
- 2026-10-03 Alias added: GHSA-cpgw-2wxr-pww3
References
More Gogs vulnerabilities
- TI-2025-07419 File overwrite in file update API in Gogs KEVCVSS 4.0HIGH 8.7
- TI-2022-01876 OS Command Injection in gogs/gogs CVSS 3.1CRITICAL 9.8
- TI-2024-36988 Gogs has a Path Traversal in file update API CVSS 4.0HIGH 8.7
- TI-2022-01744 Remote Command Execution in gogs/gogs CVSS 3.1CRITICAL 10.0
- TI-2025-39562 Gogs's update .git/config file allows remote command execution CVSS 4.0CRITICAL 9.3
- TI-2026-20951 Gogs: Cross-repository LFS object overwrite via missing content hash verification CVSS 3.1CRITICAL 9.3
Sources
- CVE-2018-15178 · CVE Program
- CVE-2018-15178 · NVD
- FIRST EPSS
- GHSA-cpgw-2wxr-pww3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences