Live threats

All CVEs / Coder

CVE-2026-46354Coder

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Jul 7, 2026
Updated
Jul 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Coder.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/coder/coder ≤ 0.27.3 no fixed version —
Go github.com/coder/coder all no fixed version —
Go github.com/coder/coder/v2 ≥ 2.33.0-rc.0 < 2.33.3 2.33.3 go get github.com/coder/coder/v2@v2.33.3
Go github.com/coder/coder/v2 ≥ 2.32.0-rc.0 < 2.32.2 2.32.2 go get github.com/coder/coder/v2@v2.32.2
Go github.com/coder/coder/v2 ≥ 2.31.0 < 2.31.12 2.31.12 go get github.com/coder/coder/v2@v2.31.12
Go github.com/coder/coder/v2 ≥ 2.30.0 < 2.30.8 2.30.8 go get github.com/coder/coder/v2@v2.30.8
Go github.com/coder/coder/v2 ≥ 2.29.0 < 2.29.13 2.29.13 go get github.com/coder/coder/v2@v2.29.13
Go github.com/coder/coder/v2 < 2.24.5 2.24.5 go get github.com/coder/coder/v2@v2.24.5
Go github.com/coder/coder/v2 < 2.24.5 2.24.5 go get github.com/coder/coder/v2@v2.24.5
Go github.com/coder/coder/v2 ≥ 2.29.0 < 2.29.13 2.29.13 go get github.com/coder/coder/v2@v2.29.13
Go github.com/coder/coder/v2 ≥ 2.30.0 < 2.30.8 2.30.8 go get github.com/coder/coder/v2@v2.30.8
Go github.com/coder/coder/v2 ≥ 2.31.0 < 2.31.12 2.31.12 go get github.com/coder/coder/v2@v2.31.12

Per OSV / GitHub Advisories (GHSA-6x44-w3xg-hqqf, GO-2026-5196). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
codercoder< 2.24.5
codercoder≥ 2.29.0 < 2.29.13
codercoder≥ 2.30.0 < 2.30.8
codercoder≥ 2.31.0 < 2.31.12
codercoder≥ 2.32.0 < 2.32.2
codercoder≥ 2.33.0 < 2.33.3

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.