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.
- CVSS
- 7.7High
- Chance of exploitation (EPSS)
- 0.33%
- Published
- Nov 13, 2026
- In the news
- Not yet
What to do
A serious security flaw in Coder that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 2.29.23, 2.34.14, 2.36.0, 2.36.9, 2.37.6, 2.38.2
Affected versions
- Coder
- 2.24.0 to before 2.29.23; 2.30.0 to before 2.34.14; 2.35.0 to before 2.36.0; 2.36.0 to before 2.36.9; 2.37.0 to before 2.37.6; 2.38.0 to before 2.38.2
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-126308 published (CVSS 7.7) (Nov 13, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Nov 13, 2026
- CVECVE-2026-126308 published (CVSS 7.7)CVE Program · 10:17 UTC
References 2
- github.com /coder/coder/security/advisories/GHSA-2x8w-q434-f76p
- www.vulncheck.com /advisories/coder-2.38.0-before-2.38.2-session-token-leak-via-sub-agent-external-apps