Gogs is an open source self-hosted Git service. Prior to 0.14.3, an open redirect vulnerability exists in…
Historical advisory recorded 25 Oct 2026 13:17:10 UTC. Read the latest advisory.
nvd · CVE-2026-52802
PublishedGogs 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-52802
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-601
Original publisher date fields
published: 2026-06-24T21:16:56.057
lastModified: 2026-06-25T17:16:40.063
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON