Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/coder/coder/v2
  4. ›
  5. CVE-2026-46354

CVE-2026-46354: Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft

May 19, 2026

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

References

  • github.com/advisories/GHSA-6x44-w3xg-hqqf
  • github.com/coder/coder/pull/25286
  • github.com/coder/coder/releases/tag/v2.24.5
  • github.com/coder/coder/releases/tag/v2.29.13
  • github.com/coder/coder/releases/tag/v2.30.8
  • github.com/coder/coder/releases/tag/v2.31.12
  • github.com/coder/coder/releases/tag/v2.32.2
  • github.com/coder/coder/releases/tag/v2.33.3
  • github.com/coder/coder/security/advisories/GHSA-6x44-w3xg-hqqf
  • nvd.nist.gov/vuln/detail/CVE-2026-46354

Code Behaviors & Features

Detect and mitigate CVE-2026-46354 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.24.5, all versions starting from 2.29.0 before 2.29.13, all versions starting from 2.30.0 before 2.30.8, all versions starting from 2.31.0 before 2.31.12, all versions starting from 2.32.0-rc.0 before 2.32.2, all versions starting from 2.33.0-rc.0 before 2.33.3

Fixed versions

  • 2.24.5
  • 2.29.13
  • 2.30.8
  • 2.31.12
  • 2.32.2
  • 2.33.3

Solution

Upgrade to versions 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, 2.33.3 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

go/github.com/coder/coder/v2/CVE-2026-46354.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 22 May 2026 00:18:28 +0000.