Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-46354 – PKCS#7 Signature Bypass Leading to Unauthenticated Agent Token Theft – Coder pri…

Be the first to know when new zero-days emerge:

Summary

CVE-2026-46354 is a critical PKCS#7 signature verification bypass in Coder, a self-hosted remote development environment platform, affecting all versions prior to the patched releases listed below. The flaw resides in the azureidentity.Validate() function, which verifies that a signer certificate chains to a trusted Azure certificate authority but never validates the cryptographic signature on the PKCS#7 envelope itself. An unauthenticated remote attacker who can supply a forged PKCS#7 payload to an unprotected API endpoint can obtain valid workspace agent session tokens and exfiltrate developer credentials. This vulnerability carries a CVSS v3.1 base score of 9.1 (Critical).

Technical details

  • Root cause: azureidentity.Validate() performs certificate chain validation against a trusted Azure CA but omits verification of the PKCS#7 cryptographic signature, meaning the signed content itself is never authenticated.
  • Trigger conditions: An attacker sends a crafted HTTP POST request to the unauthenticated endpoint POST /api/v2/workspaceagents/azure-instance-identity, embedding a legitimate Azure IMDS certificate inside a forged PKCS#7 envelope alongside attacker-controlled content such as {"vmId":"<target>"}.
  • Attack vector: Fully remote, no authentication or user interaction required (AV:N, PR:N, UI:N). Exploitation requires knowledge of the target Azure VM’s vmId (a UUIDv4), which the official advisory notes would typically require prior access to obtain; however, Azure IMDS certificates appear in Certificate Transparency logs, and VM IDs may also be exposed via cloud metadata services, CI/CD pipeline logs, or Azure portal enumeration.
  • Impact: A successful attack causes the server to return the victim workspace agent’s session token. This token can be used to exfiltrate Git SSH private keys, OAuth access tokens for GitHub, GitLab, and Bitbucket integrations, and other workspace secrets, enabling unauthorized access to source code repositories and potential impersonation of the workspace owner.

Affected software

  • Coder v2: all versions prior to 2.24.5
  • Coder v2: versions 2.29.0 – 2.29.12 (prior to 2.29.13)
  • Coder v2: versions 2.30.0 – 2.30.7 (prior to 2.30.8)
  • Coder v2: versions 2.31.0 – 2.31.11 (prior to 2.31.12)
  • Coder v2: versions 2.32.0 – 2.32.1 (prior to 2.32.2)
  • Coder v2: versions 2.33.0 – 2.33.2 (prior to 2.33.3)
  • Coder v1: all versions up to and including 0.27.3 (no patch available for v1)

Severity

CVSS v3.1 Base Score: 9.1 (Critical)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Mitigation and recommended actions

  • Immediate – upgrade: Update to one of the patched releases: v2.24.5, v2.29.13, v2.30.8, v2.31.12, v2.32.2, or v2.33.3 (or later). The fix adds cryptographic verification of the PKCS#7 signature in azureidentity.Validate().
  • Workaround (if immediate upgrade is not possible): Reconfigure any Azure workspace templates to use token authentication instead of azure-instance-identity. This disables the vulnerable code path entirely.
  • Coder v1 users: No patch will be released for v1. Migrate to a supported v2 release or apply the token-authentication workaround immediately.
  • Network mitigation: Restrict internet-facing access to Coder API endpoints where possible while remediation is being planned.

IONIX Status

The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge