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.
CVE-2026-52802
This medium-severity CVE scores 5.4 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.6%, top 58% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.4
- EG Score
- 5.4(medium)
- EPSS
- 42.2%
- KEV
- Not listed
Published
June 23, 2026
Last Modified
June 25, 2026
Advisory Details (4)
Auto-updated Jun 24, 2026Open Redirect via redirect_to · Advisory · gogs/gogs · GitHub
https://github.com/gogs/gogs/security/advisories/GHSA-xxhq-69mf-w8cr0.14.3
Patch available: gogs/gogs v0.14.3
https://github.com/gogs/gogs/releases/tag/v0.14.3security: harden same-site URL check against redirect bypass
Fix merged in gogs/gogs PR #8322 on 2026-06-05 — awaiting tagged release
https://github.com/gogs/gogs/pull/8322commit c5da9631dc75 (gogs/gogs)
Fix landed in gogs/gogs commit c5da9631dc75 — awaiting tagged release
https://github.com/gogs/gogs/commit/c5da9631dc75f692f313373ae229c4d47ba6517fVendor Advisories for CVE-2026-52802(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 13× in last 7d / 27× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 11:24 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 09:40 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 08:15 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 06:48 UTCEG score recompute
- 2026-07-02 05:20 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 03:55 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 02:29 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 01:04 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 23:37 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 22:11 UTCEG score recompute
- 2026-06-25 20:45 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
Show 2 moreShow fewer
- 2026-06-24 19:19 UTCEG score recompute
- 2026-06-23 17:23 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-601
Frequently asked(5)
What is CVE-2026-52802?
When was CVE-2026-52802 disclosed?
Is CVE-2026-52802 actively exploited?
What is the CVSS score of CVE-2026-52802?
How do I remediate CVE-2026-52802?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-52802
Is Your Infrastructure Affected by CVE-2026-52802?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.