Improper authorization in Coder exposes workspace agent tokens
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-863.
Summary
Coder versions from 2.26.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 are affected. The external agent credentials endpoint returns the workspace agent token to users with only workspace read access rather than SSH permission, an incorrect authorization flaw (CWE-863). An authenticated user with a role such as Template Admin or Organization Admin can use the token to read the owner's private Git SSH key and Git provider OAuth tokens and to impersonate the agent to receive the owner's sessions.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
Coder 2.26.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 contains an improper authorization flaw in the external agent credentials endpoint, which returns the workspace agent token to users with only workspace read access rather than ssh permission. Authenticated users with roles such as Template Admin or Organization Admin can use the token to read the owner's private Git SSH key and Git provider OAuth tokens, and impersonate the agent to receive the owner's sessions.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| coder | coder | 2.38.0 to before 2.38.4 | 2.38.4 | Patch available | CNA |
| coder | coder | 2.37.0 to before 2.37.8 | 2.37.8 | Patch available | CNA |
| coder | coder | 2.36.0 to before 2.36.11 | 2.36.11 | Patch available | CNA |
| coder | coder | 2.30.0 to before 2.34.16 | 2.34.16 | Patch available | CNA |
| coder | coder | 2.26.0 to before 2.29.24 | 2.29.24 | 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.4 Fixed in 2.38.4 Patch available CNA
- coder Vendorcoder Affected 2.37.0 to before 2.37.8 Fixed in 2.37.8 Patch available CNA
- coder Vendorcoder Affected 2.36.0 to before 2.36.11 Fixed in 2.36.11 Patch available CNA
- coder Vendorcoder Affected 2.30.0 to before 2.34.16 Fixed in 2.34.16 Patch available CNA
- coder Vendorcoder Affected 2.26.0 to before 2.29.24 Fixed in 2.29.24 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.38.4, 2.37.8, 2.36.11, 2.34.16, or 2.29.24, depending on the release line in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA coder (coder) Fixed in 2.38.4
- Fix · CNA coder (coder) Fixed in 2.37.8
- Fix · CNA coder (coder) Fixed in 2.36.11
- Fix · CNA coder (coder) Fixed in 2.34.16
- Fix · CNA coder (coder) Fixed in 2.29.24
- 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-91246 Coder web dashboard leaks API key via sub-agent external appsPriority LOW 37
- 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
- Release ·
coder 2.29.24, 2.34.16 and 3 more versions
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- 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-126403
- 2026-11-13 Alias added: GHSA-2c36-2hm9-rjrf
- 2026-11-13 CISA SSVC decision points changed
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-126403 · CVE Program
- CVE-2026-126403 · NVD
- FIRST EPSS
- GHSA-2c36-2hm9-rjrf · 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