Skip to content
CVE PROGRAM SOURCE RECORD8.3 High

CVE-2026-118687

Coder before 2.29.21, 2.34.12, 2.35.9, 2.36.7, and 2.37.4 Missing Audience Validation in GCP Instance-Identity Authentication

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

coder coder

Default version status: unaffected

  • 2.37.0 to < 2.37.4affected
  • 2.37.4unaffected
pkg:golang/github.com/coder/coder/v2

coder coder

Default version status: unaffected

  • 2.36.0 to < 2.36.7affected
  • 2.36.7unaffected
pkg:golang/github.com/coder/coder/v2

coder coder

Default version status: unaffected

  • 2.35.0 to < 2.35.9affected
  • 2.35.9unaffected
pkg:golang/github.com/coder/coder/v2

coder coder

Default version status: unaffected

  • 2.30.0 to < 2.34.12affected
  • 2.34.12unaffected
pkg:golang/github.com/coder/coder/v2

coder coder

Default version status: unaffected

  • 0 to < 2.29.21affected
  • 2.29.21unaffected
pkg:golang/github.com/coder/coder/v2

References