CVE-2026-45796

Coder vulnerable to unauthenticated SSRF via Azure Instance Identity Endpoint

Published Jul 7, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Coder allows organizations to provision remote development environments via Terraform. Versions prior to 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 through the Azure instance identity endpoint (POST /api/v2/workspaceagents/azure-instance-identity). An attacker can submit a crafted PKCS#7 signature that forces the Coder server to issue HTTP GET requests to arbitrary internal or external hosts. The server does not return the target’s response body, but error messages in the API response reveal whether the host is reachable and indicate the type of failure, enabling discovery of internal services. The issue was patched in releases 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, and 2.33.3. A workaround is to restrict access to the endpoint when Azure identity authentication is not used.

Affected Systems

The Coder application (vendor coder:coder) running any version earlier than 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, or 2.33.3 is vulnerable.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. The EPSS score of <1% reflects a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Because the endpoint can be reached without authentication, an attacker can exploit the flaw simply by issuing a crafted POST request to the exposed endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to any patched Coder release (v2.24.5, v2.29.13, v2.30.8, v2.31.12, v2.32.2, or v2.33.3) to remove the SSRF flaw.
  • If an upgrade cannot be performed immediately, restrict access to /api/v2/workspaceagents/azure-instance-identity using ingress firewall rules or proxy ACLs so that only trusted internal users can reach the endpoint.
  • If the Azure identity authentication feature is not required for your deployment, disable or remove the Azure instance identity endpoint to eliminate the SSRF vector.

Generated by OpenCVE AI on August 1, 2026 at 17:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-686c-7vgv-v3fx Coder: Unauthenticated SSRF via Azure Instance Identity Endpoint
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Coder
Coder coder
Vendors & Products Coder
Coder coder
Type Values Removed Values Added
Description 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.
Title Coder vulnerable to unauthenticated SSRF via Azure Instance Identity Endpoint
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 8, 2026, 1:53 PM
Reserved
May 13, 2026, 8:19 AM
Status
Analyzed
Published
Jul 7, 2026, 10:16 PM
Modified
Jul 8, 2026, 7:47 PM