CVE-2026-26196 Gogs: Access tokens get exposed through URL params in API requests
Attackers can steal Gogs access tokens exposed in URLs via logs or referrers, potentially leading to unauthorized account access.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-26196?
CVE-2026-26196 is a medium-severity vulnerability in gogs, published on 5 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-598
Which versions are affected by CVE-2026-26196?
3 open source packages ship an affected version, including gogs.io/gogs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gogs.io/gogs Go | All versions | None |
gogs.io/gogs Go | All versions to 0.13.3 | None |
gogs.io/gogs Go | All versions to 0.13.3 | None |
Products include Gogs Gogs.
How do I fix CVE-2026-26196?
Upgrade to a fixed version.
Is CVE-2026-26196 being exploited?
There is no known exploitation of CVE-2026-26196 in the wild and no public exploit code.
Other vulnerabilities in gogs
Sources
Also known as GHSA-x9p5-w45c-7ffc, GO-2026-4619.