Open Redirect in Gogs
CVE-2026-52802
Gogs is an open source self-hosted Git service. Prior to 0.14.3, an open redirect vulnerability exists in Gogs where attacker-controlled redirect_to parameters can bypass validation, allowing redirection to arbitrary external sites. All redirects in Gogs that are validated via the IsSameSite function are vulnerable. The function only inspects the first two characters of the URL string. This check fails to account for directory traversal sequences followed by backslashes. This vulnerability is fixed in 0.14.3.
Vulnerability class: Open Redirect
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.006 (44.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 44.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Gogs — versions < 0.14.3
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-52802?
- CVE-2026-52802 is a medium-severity vulnerability in Gogs, classified under URL Redirection to Untrusted Site (Open Redirect). CVSS score: 5.4/10. Published 2026-06-24.
- How severe is CVE-2026-52802?
- Medium severity. CVSS v3 base score is 5.4 out of 10.