{"id":"CVE-2026-46354","sourceIdentifier":"security-advisories@github.com","published":"2026-07-07T22:16:52.467","lastModified":"2026-07-08T19:47:02.427","vulnStatus":"Analyzed","cveTags":[],"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`."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"coder","product":"coder","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"}]}]}],"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}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-08T13:01:18.394796Z","id":"CVE-2026-46354","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-347"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","versionEndExcluding":"2.24.5","matchCriteriaId":"38FD51E2-14DE-4C93-8EFC-267C222E06FE"},{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","versionStartIncluding":"2.29.0","versionEndExcluding":"2.29.13","matchCriteriaId":"055001B5-79DC-4275-91EF-8D7C45FCA8ED"},{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","versionStartIncluding":"2.30.0","versionEndExcluding":"2.30.8","matchCriteriaId":"7646D2AE-2363-4C43-853A-4F61C95B253B"},{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","versionStartIncluding":"2.31.0","versionEndExcluding":"2.31.12","matchCriteriaId":"02976D4C-3CEB-430B-A464-141A28B2CBED"},{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","versionStartIncluding":"2.32.0","versionEndExcluding":"2.32.2","matchCriteriaId":"4498D465-4F7F-4786-8716-43A78FBC35B8"},{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","versionStartIncluding":"2.33.0","versionEndExcluding":"2.33.3","matchCriteriaId":"88AFFF26-1B74-4DD4-98C7-D5FE8F17CF00"}]}]}],"references":[{"url":"https://github.com/coder/coder/pull/25286","source":"security-advisories@github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/coder/coder/releases/tag/v2.24.5","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.13","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/coder/coder/releases/tag/v2.30.8","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/coder/coder/releases/tag/v2.31.12","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.2","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.3","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf","source":"security-advisories@github.com","tags":["Patch","Vendor Advisory"]}]}