CVE-2026-26196
MEDIUM 6.9CVSS 4.0Gogs: Access tokens get exposed through URL params in API requests
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.
- Published
- 5 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-598
- Also known as
- GHSA-x9p5-w45c-7ffcGO-2026-4619
- Sources
- NVDJSONOSV GHSA-x9p5-w45c-7ffcJSONOSV GO-2026-4619JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gogs | gogscpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* |
< 0.14.2 | 0.14.2 |
| OSV | Go | gogs.io/gogs | <= 0.13.3 | |
| OSV | Go | gogs.io/gogs | all versions |
References
- https://github.com/gogs/gogs/commit/295bfba72993c372e7b338438947d8e1a6bed8fd · Patch, WEB
- https://github.com/gogs/gogs/pull/8177 · Issue Tracking, WEB
- https://github.com/gogs/gogs/releases/tag/v0.14.2 · Release Notes, WEB
- https://github.com/gogs/gogs/security/advisories/GHSA-x9p5-w45c-7ffc · Mitigation, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-26196 · ADVISORY
- https://github.com/gogs/gogs · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 5 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Mar 2026)