# CVE-2026-26196: Gogs: Access tokens get exposed through URL params in API requests

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-03-05T18:49:19.540Z
- Modified: 2026-06-17T10:25:55.553Z
- Also known as: GHSA-x9p5-w45c-7ffc, GO-2026-4619
- Weaknesses: CWE-598
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gogs gogs: < 0.14.2; before 0.14.2
- gogs.io/gogs (Go): up to 0.13.3; all versions

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/gogs/gogs/security/advisories/GHSA-x9p5-w45c-7ffc> (advisory, mitigation, vendor-advisory, web)
- <https://github.com/gogs/gogs/pull/8177> (issue-tracking, web)
- <https://github.com/gogs/gogs/commit/295bfba72993c372e7b338438947d8e1a6bed8fd> (patch, web)
- <https://github.com/gogs/gogs/releases/tag/v0.14.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26196> (advisory)
- <https://github.com/gogs/gogs> (package)

## Sources

- CVE List: [CVE-2026-26196](https://www.cve.org/CVERecord?id=CVE-2026-26196), CVE Terms of Use, modified 2026-03-06
- GitHub Advisory Database: [GHSA-x9p5-w45c-7ffc](https://github.com/advisories/GHSA-x9p5-w45c-7ffc), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4619](https://pkg.go.dev/vuln/GO-2026-4619), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-26196](https://nvd.nist.gov/vuln/detail/CVE-2026-26196), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26196 · Whole record: https://cve.day/CVE-2026-26196.json · Rebuilt by cve.day 2026-11-25T22:59:15.323Z
