What’s Vulnerable › Vulnerabilities
CVE-2026-26196: Gogs: Access tokens get exposed through URL params in API requests
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-05 · updated 2026-06-17
- Weakness: CWE-598
Description
Gogs is an open source self-hosted Git service. Prior to version 0.14.2, gogs api still accepts tokens in url params like token and access_token, which can leak through logs, browser history, and referrers. This issue has been patched in version 0.14.2.
Affected products
- gogs: before 0.14.2 — fixed in 0.14.2
How to fix
Upgrade to a fixed version: gogs 0.14.2. Check the vendor advisory for mitigations.
References
- https://github.com/gogs/gogs/commit/295bfba72993c372e7b338438947d8e1a6bed8fd
- https://github.com/gogs/gogs/pull/8177
- https://github.com/gogs/gogs/releases/tag/v0.14.2
- https://github.com/gogs/gogs/security/advisories/GHSA-x9p5-w45c-7ffc
Get alerted when CVE-2026-26196 or the next vulnerability affects your stack