CVE-2026-52802
Gogs: Open Redirect via redirect_to in Gogs
CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-601 |
| Vendor | gogs |
| Product | gogs |
| Published | Jun 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for gogs gogs
Be the first to know when new medium vulnerabilities affecting gogs gogs are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
gogs / gogs
< 0.14.3