CVE-2026-26196 Gogs: Access tokens get exposed through URL params in API requests
MediumCVSS 6.9
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gogs.io/gogs(Go) | <= 0.13.3; All versions | after 0.13.3 | Partially fixed |
| gogs | < 0.14.2; = < 0.14.2 | 0.14.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gogs | = < 0.14.2 | No fix listed |
| gogs.io/gogs(Go) | <= 0.13.3 | No fix listed |
| gogs.io/gogs(Go) | All versions | No fix listed |
| gogs | < 0.14.2 | 0.14.2 |
References
- https://github.com/gogs/gogs/security/advisories/GHSA-x9p5-w45c-7ffc mitigation vendor-advisory
- https://github.com/gogs/gogs/pull/8177 issue-tracking patch
- https://github.com/gogs/gogs/commit/295bfba72993c372e7b338438947d8e1a6bed8fd patch
- https://github.com/gogs/gogs/releases/tag/v0.14.2 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com