CVE-2026-26196

Gogs: Access tokens get exposed through URL params in API requests

State
Published
Severity
6.9 Medium
Published
Mar 5, 2026
Updated
Mar 6, 2026
Reserved
Feb 11, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-598 Use of GET Request Method With Sensitive Query Strings

Affected Products

ProductVersions
gogsgogs
  • < 0.14.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.