CVE-2026-46354 Details
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`.
A vulnerability exists in Coder's handling of Azure instance identity tokens, specifically in versions prior to 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3. The issue arises because the `azureidentity.Validate()` function only checks that the PKCS#7 signer certificate is valid and trusted, but fails to verify the actual PKCS#7 signature. This flaw allows an attacker to craft a token by embedding a legitimate Azure certificate with fake content, such as a `vmId`, which is a UUIDv4. The manipulated token is accepted, and the attacker's session token is returned, enabling access to sensitive information. No authentication is needed to exploit this vulnerability, although knowledge of a target VM's `vmId` is required, which typically necessitates prior access.
Upgrade to Coder versions 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, or 2.33.3. If an immediate upgrade is not possible, reconfigure Azure templates to use token authentication instead of `azure-instance-identity`.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/coder/coder/pull/25286 | [email protected] | Issue TrackingPatch |
| https://github.com/coder/coder/releases/tag/v2.24.5 | [email protected] | Release Notes |
| https://github.com/coder/coder/releases/tag/v2.29.13 | [email protected] | Release Notes |
| https://github.com/coder/coder/releases/tag/v2.30.8 | [email protected] | Release Notes |
| https://github.com/coder/coder/releases/tag/v2.31.12 | [email protected] | Release Notes |
| https://github.com/coder/coder/releases/tag/v2.32.2 | [email protected] | Release Notes |
| https://github.com/coder/coder/releases/tag/v2.33.3 | [email protected] | Release Notes |
| https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| coder coder | < 2.24.5 >= 2.29.0, < 2.29.13 >= 2.30.0, < 2.30.8 >= 2.31.0, < 2.31.12 >= 2.32.0, < 2.32.2 >= 2.33.0, < 2.33.3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 8, 2026 | Initial Analysis | [email protected] |
| Jul 8, 2026 | CVE Modified | CISA-ADP |
| Jul 7, 2026 | New CVE Received | [email protected] |