Vulnerability advisory
CVE-2026-26196
Gogs: Access tokens get exposed through URL params in API requests
Also known as GHSA-x9p5-w45c-7ffcGO-2026-4619
Severity
- CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/gogs/gogs ↗ | |
| All commits before 5dcb6c64bdf61e38dbdbb941c1d69789c560d0fb | 5dcb6c64bdf61e38dbdbb941c1d69789c560d0fb |
| Not specified | 295bfba72993c372e7b338438947d8e1a6bed8fd |
Also listed as affected (58)
| |
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.
References
- Webgithub.com/gogs/gogs/releases/tag/v0.14.2 ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26196.json ↗
- Advisorygithub.com/gogs/gogs/security/advisories/GHSA-x9p5-w45c-7ffc ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-26196 ↗
- Fixgithub.com/gogs/gogs/commit/295bfba72993c372e7b338438947d8e1a6bed8fd ↗
- Fixgithub.com/gogs/gogs/pull/8177 ↗