cve.bz

CVE-2026-52802

5.4 mediumEPSS 0.6%

Medium (5.4). EPSS 0.6% chance of exploitation in the next 30 days. Fixed in gogs.io/gogs 0.14.3.

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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS
0.6% chance of exploitation in the next 30 days; higher than 46% of CVEs (scores of 2026-10-31)
CWE
CWE-601
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xxhq-69mf-w8crGogogs.io/gogs<0.14.30.14.3
GO-2026-5773Gogogs.io/gogsall versionsno fix published

References

Check your stackJSON