MEDIUM 6.5

CVE-2026-45796: Unauthenticated SSRF in Coder Remote Development Platform

Coder, a platform for provisioning remote development environments, contains an unauthenticated Server-Side Request Forgery (SSRF) vulnerability in its Azure instance identity endpoint. An attacker can trick the Coder server into making HTTP requests to arbitrary internal or external hosts by submitting a specially crafted digital signature. While the attacker doesn't receive the full response from the target, error messages leaked in the API response allow reconnaissance—revealing whether a host is reachable and what type of failure occurred. This enables attackers to probe internal networks, cloud metadata endpoints, and other infrastructure without authentication.

Source data · NVD / CISA · public domain

CVSS
3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weaknesses (CWE)
CWE-918
Affected products
1 configuration(s)
Published / Modified
2026-07-07 / 2026-07-08

NVD description (verbatim)

Coder allows organizations to provision remote development environments via Terraform. Versions prior tp 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3 are vulnerable to unauthenticated semi-blind Server-Side Request Forgery (SSRF) via the Azure instance identity endpoint (`POST /api/v2/workspaceagents/azure-instance-identity`). An external attacker can force the Coder server to issue HTTP GET requests to arbitrary internal or external hosts by submitting a crafted PKCS#7 signature. The server does not return the target's response body, but error messages in the API response reveal whether the target is reachable and what type of failure occurred. 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, if the Azure identity-auth mechanism is not being used then restrict access to the corresponding endpoint (`/api/v2/workspaceagents/azure-instance-identity`) using ingress firewall and/or proxy ACLs.

9 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability exists in the `/api/v2/workspaceagents/azure-instance-identity` endpoint, which is designed to verify Azure instance identities via PKCS#7 signature validation. An attacker can submit a crafted signature that causes the Coder server to issue GET requests to attacker-controlled destinations. The server's error handling inadvertently leaks information through HTTP status codes and failure messages, allowing semi-blind SSRF exploitation. The flaw stems from insufficient validation of the signature submission mechanism and failure to properly isolate the Azure identity verification process from direct network requests. CWE-918 (Server-Side Request Forgery) classification applies.

Business impact

Organizations using Coder for remote development environment provisioning face two key risks. First, attackers can perform internal network reconnaissance to map infrastructure, identify cloud metadata endpoints (a common attack vector), and discover vulnerable internal services without triggering typical authentication logs. Second, in multi-tenant deployments, this could be leveraged to probe other organizations' infrastructure if deployed in shared cloud environments. The attack requires no authentication, making it accessible to any external attacker who can reach the Coder API. For organizations with strict network segmentation or those handling sensitive development environments, this reconnaissance capability represents a meaningful risk to network security posture.

Affected systems

Coder versions prior to 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3 are vulnerable. This indicates multiple release tracks—the version numbering suggests at least five parallel maintenance branches. Organizations running any Coder instance below their respective branch's patched version are affected. The vulnerability is present regardless of whether Azure identity authentication is actively used, though it is only exploitable if the vulnerable endpoint remains exposed.

Exploitability

Exploitability is high from an attacker's perspective. No authentication is required, the attack surface is a public API endpoint, and exploitation requires only HTTP POST requests with a crafted PKCS#7 signature—a low technical barrier. However, impact is constrained by the semi-blind nature of the SSRF: attackers receive no response body, only timing and error-message information. This limits direct data exfiltration but enables effective host discovery and service fingerprinting. The CVSS 3.1 score of 6.5 (MEDIUM) reflects this balance—easy exploitation but limited direct impact. No indication of active exploitation in the wild has been reported, and the vulnerability was not added to the KEV catalog.

Remediation

Organizations should immediately upgrade to patched versions: 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, or 2.33.3, depending on their current release track. For deployments where immediate patching is not feasible, implement network-level controls: restrict access to the `/api/v2/workspaceagents/azure-instance-identity` endpoint using ingress firewall rules or API proxy ACLs, allowing only trusted internal sources if the Azure identity mechanism is in use. If Azure identity authentication is not required, disable or remove the endpoint entirely from your deployment.

Patch guidance

Identify your current Coder version and determine which release track it belongs to. Cross-reference against the patched versions provided: 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3. Upgrade within your track to the patched version. Test the upgrade in a non-production environment first, particularly for remote development environments where outages directly impact developer productivity. Review your Azure instance identity authentication configuration post-upgrade to ensure it functions as expected. No breaking changes have been reported in these patch releases.

Detection guidance

Monitor for POST requests to `/api/v2/workspaceagents/azure-instance-identity` from unexpected sources or with unusual request patterns. Specifically, look for requests with invalid or suspicious PKCS#7 signatures, repeated requests from the same external IP, or requests followed by error responses. Correlate with subsequent outbound HTTP requests from the Coder server to internal or non-standard destinations. Enable HTTP logging on your Coder deployment and on any upstream proxy or WAF to capture the full request/response flow. Analyze error response rates for this endpoint—a spike in 400/403 errors may indicate exploitation attempts. Use DNS and HTTP traffic analysis to detect outbound reconnaissance requests generated by exploited SSRF vulnerabilities.

Why prioritize this

This vulnerability merits prompt but measured attention. The MEDIUM severity (6.5 CVSS) and lack of KEV listing indicate it is not an emergency, but the unauthenticated, network-accessible nature of the flaw means it should be prioritized within your standard patch cycle. For organizations running Coder instances exposed to the internet or accessible via VPN, this should be addressed within 1–2 weeks. For internal-only deployments with strict network segmentation, prioritization can extend to the standard quarterly patch window. The reconnaissance capability makes this a risk to network mapping and cloud metadata discovery, not direct data loss.

Risk score, explained

The CVSS 3.1 score of 6.5 reflects unauthenticated network access (AV:N), low complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and impact limited to confidentiality and integrity of reconnaissance data only (C:L, I:L, A:N). The 'I:L' (integrity low) designation reflects that attackers can influence the Coder server's outbound requests and potentially poison internal caches or monitoring systems, though no direct system modification occurs. The absence of availability impact acknowledges that while DoS is theoretically possible via resource exhaustion, the flaw itself does not grant denial-of-service capabilities. This score appropriately balances the ease of exploitation against the constrained impact.

Frequently asked questions

If we don't use Azure instance identity authentication, are we still vulnerable?

Yes. The vulnerability exists in the endpoint regardless of whether your organization actively uses Azure authentication. However, if you are not using this feature, the recommended workaround is to restrict or disable the `/api/v2/workspaceagents/azure-instance-identity` endpoint entirely via ingress firewall or proxy ACLs. This eliminates the attack surface until you can patch.

Can an attacker directly read data from internal services via this SSRF?

No. This is a semi-blind SSRF—the Coder server makes the request on behalf of the attacker, but the response body is not returned. However, attackers can use error messages, HTTP status codes, and response timing to determine whether a host is reachable, what type of service is running, and sometimes extract limited information. This makes it effective for reconnaissance but not for direct data exfiltration.

How do we know which patched version applies to our Coder deployment?

Coder maintains multiple release tracks. Determine your current version (visible in the Coder UI or via the API), then match it to the appropriate track: 2.24.x, 2.29.x, 2.30.x, 2.31.x, 2.32.x, or 2.33.x. Upgrade to the patched version within your track (e.g., 2.30.8 if you are on 2.30.x). If you are on a version below all listed tracks, consult the Coder vendor advisory for guidance on your specific release line.

What does 'crafted PKCS#7 signature' mean—do we need cryptographic expertise to be vulnerable?

No. An attacker does not need to forge valid cryptography; they submit a malformed or deliberately invalid PKCS#7 signature to trigger the vulnerability. The server's signature validation logic has a flaw that allows the request to proceed and trigger an outbound HTTP request even when signature verification fails. Technical sophistication is low; standard HTTP tools and common PKCS#7 payloads are sufficient.

This analysis is based on the published CVE record and vendor advisory. Organizations should verify patch availability, compatibility, and deployment impact directly with Coder vendor documentation and their internal testing processes before applying updates. Semi-blind SSRF vulnerabilities may have exploitation techniques or attacker tactics not fully captured in initial disclosures; maintain awareness of emerging threat intelligence. This page does not constitute professional security advice; consult your security team or a qualified vendor regarding remediation priorities for your specific environment. Source: NVD (public-domain), retrieved 2026-08-16. Analysis generated by SEC.co (claude-haiku-4-5).