{"cve":"CVE-2026-46354","nvd":{"published":"2026-07-07T22:16:52.467","modified":"2026-07-08T19:47:02.427","status":"Analyzed","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`.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-347"],"references":["https://github.com/coder/coder/pull/25286","https://github.com/coder/coder/releases/tag/v2.24.5","https://github.com/coder/coder/releases/tag/v2.29.13","https://github.com/coder/coder/releases/tag/v2.30.8","https://github.com/coder/coder/releases/tag/v2.31.12"],"products":["coder:coder"],"source":"nvd","synced_at":"2026-10-19T22:42:16.820116992+00:00"},"epss":{"cve":"CVE-2026-46354","score":0.00318,"percentile":0.24774,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6x44-w3xg-hqqf","url":"https://osv.dev/vulnerability/GHSA-6x44-w3xg-hqqf","summary":"Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft","modified":"2026-06-25T19:56:36.115023116Z","packages":[{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.33.0-rc.0 <2.33.3"],"fixed":["2.33.3"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.32.0-rc.0 <2.32.2"],"fixed":["2.32.2"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.31.0 <2.31.12"],"fixed":["2.31.12"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.30.0 <2.30.8"],"fixed":["2.30.8"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.29.0 <2.29.13"],"fixed":["2.29.13"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":["<2.24.5"],"fixed":["2.24.5"]},{"ecosystem":"Go","name":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","ranges":["<=0.27.3"],"fixed":[]}]},{"id":"GO-2026-5196","url":"https://osv.dev/vulnerability/GO-2026-5196","summary":"Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft in github.com/coder/coder","modified":"2026-06-25T19:45:15.243100297Z","packages":[{"ecosystem":"Go","name":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":["<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"],"fixed":["2.24.5","2.29.13","2.30.8","2.31.12","2.32.2","2.33.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}