Read the docs

Missing audience check in Coder GCP instance-identity login

Priority LOW 35CWE-441Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00186 8th percentileScored 2026-11-07
Fix Fixed coder (coder): 2.37.4, 2.36.7, 2.35.9 +2

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

VendorProductAffected versionsFixed inStatusSource
codercoder2.37.0 to before 2.37.42.37.4Patch availableCNA
codercoder2.36.0 to before 2.36.72.36.7Patch availableCNA
codercoder2.35.0 to before 2.35.92.35.9Patch availableCNA
codercoder2.30.0 to before 2.34.122.34.12Patch availableCNA
codercoderbefore 2.29.212.29.21Patch availableCNA
  • 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

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*——coder
  • cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:* Versions — — ·coder

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

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-28 Threatist record created from CVE-2026-118687
  2. 2026-10-28 Alias added: GHSA-j9wc-wg7r-6rm3
  3. 2026-10-29 CISA SSVC decision points changed
  4. 2026-10-29 Priority changed: MEDIUM → LOW
  5. 2026-11-06 Affected versions changed · Red Hat
  6. 2026-11-06 CVSS score added · Red Hat

References

  • 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
See all 42 →

Sources