Missing audience check in Coder GCP instance-identity login
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Coder before 2.29.21, from 2.30.0 before 2.34.12, from 2.35.0 before 2.35.9, from 2.36.0 before 2.36.7, and from 2.37.0 before 2.37.4 does not validate the audience claim of GCE instance-identity JWTs at the POST /api/v2/workspaceagents/google-instance-identity endpoint. The server accepts identity tokens issued for other relying parties, so it does not check who a token is meant for. An attacker who holds an unexpired format=full identity token issued for another relying party can obtain that workspace agent's session token, which stays valid until the workspace's next build.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
Coder before 2.29.21, 2.30.0 before 2.34.12, 2.35.0 before 2.35.9, 2.36.0 before 2.36.7, and 2.37.0 before 2.37.4 does not validate the audience claim of GCE instance-identity JWTs at the POST /api/v2/workspaceagents/google-instance-identity endpoint. Attackers who obtain an unexpired format=full identity token minted for another relying party can replay it to obtain that workspace agent's session token, which remains valid until the workspace's next build.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
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.37.0 to before 2.37.4 | 2.37.4 | Patch available | CNA |
| coder | coder | 2.36.0 to before 2.36.7 | 2.36.7 | Patch available | CNA |
| coder | coder | 2.35.0 to before 2.35.9 | 2.35.9 | Patch available | CNA |
| coder | coder | 2.30.0 to before 2.34.12 | 2.34.12 | Patch available | CNA |
| coder | coder | before 2.29.21 | 2.29.21 | Patch available | CNA |
- coder Vendorcoder Affected 2.37.0 to before 2.37.4 Fixed in 2.37.4 Patch available CNA
- coder Vendorcoder Affected 2.36.0 to before 2.36.7 Fixed in 2.36.7 Patch available CNA
- coder Vendorcoder Affected 2.35.0 to before 2.35.9 Fixed in 2.35.9 Patch available CNA
- coder Vendorcoder Affected 2.30.0 to before 2.34.12 Fixed in 2.34.12 Patch available CNA
- coder Vendorcoder Affected before 2.29.21 Fixed in 2.29.21 Patch available CNA
Remediation
Coder fixed versions are 2.29.21, 2.34.12, 2.35.9, 2.36.7, and 2.37.4, one for each affected release line.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA coder (coder) Fixed in 2.37.4
- Fix · CNA coder (coder) Fixed in 2.36.7
- Fix · CNA coder (coder) Fixed in 2.35.9
- Fix · CNA coder (coder) Fixed in 2.34.12
- Fix · CNA coder (coder) Fixed in 2.29.21
Vendor assessments
Timeline
- 2026-10-28 Threatist record created from CVE-2026-118687
- 2026-10-28 Alias added: GHSA-j9wc-wg7r-6rm3
- 2026-10-29 CISA SSVC decision points changed
- 2026-10-29 Priority changed: MEDIUM → LOW
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
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-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
- TI-2024-18523 Coder's OIDC authentication allows email with partially matching domain to register CVSS 3.1HIGH 8.2
Sources
- CVE-2026-118687 · CVE Program
- CVE-2026-118687 · NVD
- FIRST EPSS
- GHSA-j9wc-wg7r-6rm3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-118687 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences