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

Published Oct 28, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Coder releases before 2.29.21, 2.34.12, 2.35.9, 2.36.7, and 2.37.4 do not validate the audience claim of GCE instance‑identity JSON Web Tokens presented to the /api/v2/workspaceagents/google-instance-identity endpoint, a flaw identified as CWE‑441. The server accepts any well‑formed token, allowing an attacker who obtains a valid identity token minted for a different relying party to replay that token and receive a workspace agent session token. That session remains active until the next workspace build, granting the attacker full control over the agent without legitimate credentials.

Affected Systems

All Coder installations with versions older than 2.29.21, 2.34.12, 2.35.9, 2.36.7, or 2.37.4 are impacted. The vendor is coder and the product is Coder. Administrators should verify that their deployments are running a patched release and plan remediation accordingly.

Risk and Exploitability

The CVSS score of 8.3 classifies this vulnerability as high severity. The EPSS score of 0.00186 indicates an exploitation probability of less than one percent, and the issue is not listed in CISA’s KEV catalog, which suggests that no public exploitation has been documented yet. Evidence from the description indicates that an attacker must possess an unexpired GCE instance‑identity JWT issued for a different relying party. Based on the description, it is inferred that such a token can be obtained by accessing a Google Cloud Compute instance or by abusing misconfigured IAM permissions. Replay of the token is trivial once acquired, and the resulting session token grants full control over the workspace agent until the next build, presenting a significant risk for privileged operations and potential lateral movement.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Coder to any release after 2.29.21, 2.34.12, 2.35.9, 2.36.7, or 2.37.4 that contains the audience‑validation fix.
  • As a temporary measure, limit access to or disable the /api/v2/workspaceagents/google-instance-identity endpoint until the patch is applied.
  • Review and tighten GCP IAM policies to ensure instance‑identity JWTs are issued with the correct audience claim and to prevent tokens for unrelated relying parties.

Generated by OpenCVE AI on November 6, 2026 at 02:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title 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
First Time appeared Coder
Coder coder
Weaknesses CWE-441
CPEs cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*
Vendors & Products Coder
Coder coder
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N'}

cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-294

    Authentication Bypass by Capture-replay

  • CWE-441

    Unintended Proxy or Intermediary ('Confused Deputy')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 8:54 PM
Reserved
Oct 28, 2026, 5:31 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 7:17 PM
Modified
Oct 29, 2026, 9:17 PM
Severity
Moderate
Public date
Oct 28, 2026, 6:59 PM