{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-46354","id":"CVE-2026-46354","title":"Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft","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. `{\"v","descriptionLong":"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":"2026-07-07T21:10:01.899Z","updated":"2026-10-28T02:30:38.149878184Z","reserved":"2026-05-13T18:37:30.991Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"github.com"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["coder"],"affectedProducts":[{"vendor":"coder","product":"coder","defaultStatus":null,"versions":[{"version":">= 2.33.0-rc.0, < 2.33.3","status":"affected"},{"version":">= 2.32.0-rc.0, < 2.32.2","status":"affected"},{"version":">= 2.31.0, < 2.31.12","status":"affected"},{"version":">= 2.30.0, < 2.30.8","status":"affected"},{"version":">= 2.29.0, < 2.29.13","status":"affected"},{"version":"< 2.24.5","status":"affected"}],"platforms":[]}],"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",">=2.32.0-rc.0 <2.32.2",">=2.31.0 <2.31.12",">=2.30.0 <2.30.8",">=2.29.0 <2.29.13","<2.24.5"],"fixed":["2.33.3","2.32.2","2.31.12","2.30.8","2.29.13","2.24.5"],"advisory":"GHSA-6x44-w3xg-hqqf"},{"ecosystem":"Go","name":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","ranges":["<=0.27.3","all versions"],"fixed":[],"advisory":"GHSA-6x44-w3xg-hqqf"}],"cwes":["CWE-347"],"aliases":["GHSA-6x44-w3xg-hqqf","GO-2026-5196"],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/coder/coder/pull/25286","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.24.5","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.13","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.30.8","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.31.12","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.3","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46354.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46354","tags":["advisory"]},{"url":"https://github.com/coder/coder","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00318,"epssPercentile":0.25271,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-46354","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46354","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-46354","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6x44-w3xg-hqqf","ok":true,"note":"GHSA-6x44-w3xg-hqqf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-46354","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}