Coder web dashboard leaks API key via sub-agent external apps
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-201.
Summary
Coder releases from 2.24.0 before 2.29.23, from 2.30.0 before 2.34.14, from 2.35.0 before 2.36.9, from 2.37.0 before 2.37.6 and from 2.38.0 before 2.38.2 are affected. The web dashboard 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 (CWE-201). Code running in a workspace can register a disguised sub-agent app with a custom protocol URL, so when the owner clicks it, the API key is sent to an attacker-chosen destination.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| coder | coder | 2.38.0 to before 2.38.2 | 2.38.2 | Patch available | CNA |
| coder | coder | 2.37.0 to before 2.37.6 | 2.37.6 | Patch available | CNA |
| coder | coder | 2.36.0 to before 2.36.9 | 2.36.9 | Patch available | CNA |
| coder | coder | 2.30.0 to before 2.34.14 | 2.34.14 | Patch available | CNA |
| coder | coder | 2.24.0 to before 2.29.23 | 2.29.23 | Patch available | CNA |
| coder | coder | 2.35.0 to before 2.36.0 | 2.36.0 | Patch available | CNA |
- coder Vendorcoder Affected 2.38.0 to before 2.38.2 Fixed in 2.38.2 Patch available CNA
- coder Vendorcoder Affected 2.37.0 to before 2.37.6 Fixed in 2.37.6 Patch available CNA
- coder Vendorcoder Affected 2.36.0 to before 2.36.9 Fixed in 2.36.9 Patch available CNA
- coder Vendorcoder Affected 2.30.0 to before 2.34.14 Fixed in 2.34.14 Patch available CNA
- coder Vendorcoder Affected 2.24.0 to before 2.29.23 Fixed in 2.29.23 Patch available CNA
- coder Vendorcoder Affected 2.35.0 to before 2.36.0 Fixed in 2.36.0 Patch available CNA
Remediation
Upgrade Coder to 2.29.23, 2.34.14, 2.36.0, 2.36.9, 2.37.6 or 2.38.2, the fixed version for each affected line.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA coder (coder) Fixed in 2.38.2
- Fix · CNA coder (coder) Fixed in 2.37.6
- Fix · CNA coder (coder) Fixed in 2.36.9
- Fix · CNA coder (coder) Fixed in 2.34.14
- Fix · CNA coder (coder) Fixed in 2.29.23
- Fix · CNA coder (coder) Fixed in 2.36.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
coder 2.36.0
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2026-91296 Improper authorization in Coder exposes workspace agent tokensPriority LOW 39
- TI-2026-91297 Privilege escalation in Coder via API key creationPriority LOW 35
- TI-2026-91298 Uncontrolled memory consumption in Coder Web Push deliveryPriority LOW 31
Timeline
- 2026-11-13 Threatist record created from CVE-2026-126308
- 2026-11-13 Alias added: GHSA-h95g-897g-9949
References
More coder vulnerabilities
- TI-2025-29799 code-server session cookie can be extracted by having user visit specially crafted proxy URL CVSS 3.1HIGH 8.3
- TI-2025-37344 AgentAPI exposed user chat history via a DNS rebinding attack CVSS 3.1MEDIUM 6.5
- TI-2026-92318 Workspace settings enable command execution in Coder VS Code extension CVSS 3.1HIGH 7.8
- TI-2026-34071 Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft CVSS 3.1CRITICAL 9.1
- TI-2026-32394 Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent CVSS 3.1HIGH 8.8
- TI-2026-27585 Code Extension Marketplace has a Zip Slip Path Traversal CVSS 4.0HIGH 8.7
Sources
- CVE-2026-126308 · CVE Program
- CVE-2026-126308 · NVD
- FIRST EPSS
- GHSA-h95g-897g-9949 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences