CVE-2026-46354
CRITICAL 9.1CVSS 3.1Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft
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.
- Published
- 7 Jul 2026
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-347
- Also known as
- GHSA-6x44-w3xg-hqqfGO-2026-5196
- Sources
- NVDJSONOSV GHSA-6x44-w3xg-hqqfJSONOSV GO-2026-5196JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
< 2.24.5 | 2.24.5 |
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
>= 2.29.0, < 2.29.13 | 2.29.13 |
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
>= 2.30.0, < 2.30.8 | 2.30.8 |
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
>= 2.31.0, < 2.31.12 | 2.31.12 |
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
>= 2.32.0, < 2.32.2 | 2.32.2 |
| NVD | coder | codercpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* |
>= 2.33.0, < 2.33.3 | 2.33.3 |
| OSV | Go | github.com/coder/coder/v2 | >= 2.33.0-rc.0, < 2.33.3 | 2.33.3 |
| OSV | Go | github.com/coder/coder/v2 | >= 2.32.0-rc.0, < 2.32.2 | 2.32.2 |
| OSV | Go | github.com/coder/coder/v2 | >= 2.31.0, < 2.31.12 | 2.31.12 |
| OSV | Go | github.com/coder/coder/v2 | >= 2.30.0, < 2.30.8 | 2.30.8 |
| OSV | Go | github.com/coder/coder/v2 | >= 2.29.0, < 2.29.13 | 2.29.13 |
| OSV | Go | github.com/coder/coder/v2 | < 2.24.5 | 2.24.5 |
| OSV | Go | github.com/coder/coder | <= 0.27.3 | |
| OSV | Go | github.com/coder/coder | all versions | |
| OSV | Go | github.com/coder/coder/v2 | < 2.24.5; >= 2.29.0, < 2.29.13; >= 2.30.0, < 2.30.8; >= 2.31.0, < 2.31.12; >= 2.32.0-rc.0, < 2.32.2; >= 2.33.0-rc.0, < 2.33.3 | 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, 2.33.3 |
References
- https://github.com/coder/coder/pull/25286 · Issue Tracking, Patch, WEB, FIX
- https://github.com/coder/coder/releases/tag/v2.24.5 · Release Notes, WEB
- https://github.com/coder/coder/releases/tag/v2.29.13 · Release Notes, WEB
- https://github.com/coder/coder/releases/tag/v2.30.8 · Release Notes, WEB
- https://github.com/coder/coder/releases/tag/v2.31.12 · Release Notes, WEB
- https://github.com/coder/coder/releases/tag/v2.32.2 · Release Notes, WEB
- https://github.com/coder/coder/releases/tag/v2.33.3 · Release Notes, WEB
- https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf · Patch, Vendor Advisory, WEB, ADVISORY
- https://github.com/coder/coder · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 May 2026)