# CVE-2026-126308: Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/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.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-11-13T09:36:20.400Z
- Modified: 2026-11-18T17:17:34.050Z
- Weaknesses: CWE-201
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

The web dashboard in Coder 2.24.0 before 2.29.23, 2.30.0 before 2.34.14, 2.35.0 before 2.36.9, 2.37.0 before 2.37.6, and 2.38.0 before 2.38.2 replaces the $SESSION_TOKEN placeholder in external app URLs with a full-access API key without checking whether the app belongs to a sub-agent. Code running in a workspace can register a disguised sub-agent app with a custom protocol URL, so the owner's click sends their API key to an attacker-chosen destination.

(As written by CVE List.)

## Affected

- coder coder: from 2.38.0 before 2.38.2; from 2.37.0 before 2.37.6; from 2.36.0 before 2.36.9; from 2.30.0 before 2.34.14; from 2.24.0 before 2.29.23; from 2.35.0 before 2.36.0 (not affected: 2.38.2; 2.37.6; 2.36.9; 2.34.14; 2.29.23; 2.36.0)

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N`
- VulnCheck: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/coder/coder/security/advisories/GHSA-2x8w-q434-f76p> (vendor-advisory)
- <https://www.vulncheck.com/advisories/coder-2.38.0-before-2.38.2-session-token-leak-via-sub-agent-external-apps> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-126308](https://www.cve.org/CVERecord?id=CVE-2026-126308), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-126308](https://nvd.nist.gov/vuln/detail/CVE-2026-126308), Public domain, modified 2026-11-18

---

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