CVE-2026-26196 Details
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.
A vulnerability in Gogs API versions prior to 0.14.2 allows access tokens to be sent via URL query parameters, such as 'token' and 'access_token'. This can lead to unintentional exposure of tokens through logs, browser history, and referrer headers. The issue arises because the API still checks for tokens in the query parameters before verifying the 'Authorization' header', allowing authenticated requests to be processed with potentially leaked tokens.
Users are advised to update to Gogs version 0.14.2 or later, where this vulnerability has been patched. Additionally, tokens should be sent using the 'Authorization' header' instead of as query parameters.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gogs/gogs/commit/295bfba72993c372e7b338438947d8e1a6bed8fd | [email protected] | Patch |
| https://github.com/gogs/gogs/pull/8177 | [email protected] | Issue Tracking |
| https://github.com/gogs/gogs/releases/tag/v0.14.2 | [email protected] | Release Notes |
| https://github.com/gogs/gogs/security/advisories/GHSA-x9p5-w45c-7ffc | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-598 | Use of GET Request Method With Sensitive Query Strings | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gogs gogs | < 0.14.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 5, 2026 | Initial Analysis | [email protected] |
| Mar 5, 2026 | New CVE Received | [email protected] |