CVE-2026-46354

Critical

Description

Coder allows organizations to provision remote development environments via Terraform. In versions prior tp 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3, `azureidentity.Validate()` verifies that the PKCS#7 signer certificate chains to a trusted Azure CA but never verifies the PKCS#7 signature itself. An attacker can embed a legitimate Azure certificate alongside arbitrary content e.g. `{"vmId":"<target>"}` and the forged `vmId` will be accepted returning the victim workspace agent's session token. No authentication is required. The attacker only needs to know a target VM's `vmId` which is a `UUIDv4`. That's a practical limitation which would typically require prior access to be exploited. Versions 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3 patch the issue. As a workaround, reconfigure any Azure templates to use token authentication rather than `azure-instance-identity`.

SeverityCritical
CVSS9.1
Exploit probability—
ProductCoder
PublishedJul 7, 2026
First seenJul 7, 2026
Weakness typeCWE-347CWE-347

How to fix

Update
  • coder coder2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, 2.33.3 or later
  • github.com/coder/coder/v22.33.3, 2.32.2, 2.31.12, 2.30.8, 2.29.13, 2.24.5 or later

Affected products

ProductAffected versionsFixed in
coder coderv < 2.24.5, 2.29.0 ≤ v < 2.29.13, 2.30.0 ≤ v < 2.30.8, 2.31.0 ≤ v < 2.31.12, 2.32.0 ≤ v < 2.32.2, 2.33.0 ≤ v < 2.33.32.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, 2.33.3
github.com/coder/coder/v2Go2.33.0-rc.0 ≤ v < 2.33.3, 2.32.0-rc.0 ≤ v < 2.32.2, 2.31.0 ≤ v < 2.31.12, 2.30.0 ≤ v < 2.30.8, 2.29.0 ≤ v < 2.29.13, v < 2.24.52.33.3, 2.32.2, 2.31.12, 2.30.8, 2.29.13, 2.24.5
github.com/coder/coderGov ≤ 0.27.3, No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.