CVE-2026-46354Coder
Critical 9.1 No auth needed
Follow: this CVE · Coder · Coder We alert you by email or Slack (account required).
- 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`.
What to do
- Apply the vendor's security update for Coder.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| coder | coder | < 2.24.5 |
| coder | coder | ≥ 2.29.0 < 2.29.13 |
| coder | coder | ≥ 2.30.0 < 2.30.8 |
| coder | coder | ≥ 2.31.0 < 2.31.12 |
| coder | coder | ≥ 2.32.0 < 2.32.2 |
| coder | coder | ≥ 2.33.0 < 2.33.3 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Patch Vendor Advisory