{"api_version":"1","generated_at":"2026-07-08T03:01:55+00:00","cve":"CVE-2026-46354","urls":{"html":"https://cve.report/CVE-2026-46354","api":"https://cve.report/api/cve/CVE-2026-46354.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46354","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46354"},"summary":{"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. `{\"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`.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-07 22:16:52","updated_at":"2026-07-07 22:16:52"},"problem_types":["CWE-347","CWE-347 CWE-347: Improper Verification of Cryptographic Signature"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"9.1","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"9.1","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf","name":"https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.29.13","name":"https://github.com/coder/coder/releases/tag/v2.29.13","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.31.12","name":"https://github.com/coder/coder/releases/tag/v2.31.12","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/pull/25286","name":"https://github.com/coder/coder/pull/25286","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.33.3","name":"https://github.com/coder/coder/releases/tag/v2.33.3","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.24.5","name":"https://github.com/coder/coder/releases/tag/v2.24.5","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.30.8","name":"https://github.com/coder/coder/releases/tag/v2.30.8","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.32.2","name":"https://github.com/coder/coder/releases/tag/v2.32.2","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46354","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46354","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.33.0-rc.0, < 2.33.3","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.32.0-rc.0, < 2.32.2","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.31.0, < 2.31.12","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.30.0, < 2.30.8","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.29.0, < 2.29.13","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected < 2.24.5","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"coder","vendor":"coder","versions":[{"status":"affected","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"}]}],"descriptions":[{"lang":"en","value":"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`."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","description":"CWE-347: Improper Verification of Cryptographic Signature","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-07T21:10:01.899Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf","tags":["x_refsource_CONFIRM"],"url":"https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf"},{"name":"https://github.com/coder/coder/pull/25286","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/pull/25286"},{"name":"https://github.com/coder/coder/releases/tag/v2.24.5","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.24.5"},{"name":"https://github.com/coder/coder/releases/tag/v2.29.13","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.29.13"},{"name":"https://github.com/coder/coder/releases/tag/v2.30.8","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.30.8"},{"name":"https://github.com/coder/coder/releases/tag/v2.31.12","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.31.12"},{"name":"https://github.com/coder/coder/releases/tag/v2.32.2","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.32.2"},{"name":"https://github.com/coder/coder/releases/tag/v2.33.3","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.33.3"}],"source":{"advisory":"GHSA-6x44-w3xg-hqqf","discovery":"UNKNOWN"},"title":"Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-46354","datePublished":"2026-07-07T21:10:01.899Z","dateReserved":"2026-05-13T18:37:30.991Z","dateUpdated":"2026-07-07T21:10:01.899Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-07 22:16:52","lastModifiedDate":"2026-07-07 22:16:52","problem_types":["CWE-347","CWE-347 CWE-347: Improper Verification of Cryptographic Signature"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":5.2}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"46354","Ordinal":"1","Title":"Coder: PKCS#7 signature bypass in Azure instance identity allows","CVE":"CVE-2026-46354","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"46354","Ordinal":"1","NoteData":"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`.","Type":"Description","Title":"Coder: PKCS#7 signature bypass in Azure instance identity allows"}]}}}