CVE-2026-45796 Coder vulnerable to unauthenticated SSRF via Azure Instance Identity Endpoint
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| coder | = >= 2.33.0-rc.0, < 2.33.3 | No fix listed |
| coder | = >= 2.32.0-rc.0, < 2.32.2 | No fix listed |
| coder | = >= 2.31.0, < 2.31.12 | No fix listed |
| coder | = >= 2.30.0, < 2.30.8 | No fix listed |
| coder | = >= 2.29.0, < 2.29.13 | No fix listed |
| coder | = < 2.24.5 | No fix listed |
| coder(Go) | >= 2.33.0-rc.0, < 2.33.3 | 2.33.3 |
| coder(Go) | >= 2.32.0-rc.0, < 2.32.2 | 2.32.2 |
| coder(Go) | >= 2.31.0, < 2.31.12 | 2.31.12 |
| coder(Go) | >= 2.30.0, < 2.30.8 | 2.30.8 |
| coder(Go) | >= 2.29.0, < 2.29.13 | 2.29.13 |
| coder(Go) | < 2.24.5 | 2.24.5 |
| coder(Go) | <= 0.27.3 | No fix listed |
| coder(Go) | All versions | No fix listed |
| coder | < 2.24.5 | 2.24.5 |
| coder | >= 2.29.0, < 2.29.13 | 2.29.13 |
| coder | >= 2.30.0, < 2.30.8 | 2.30.8 |
| coder | >= 2.31.0, < 2.31.12 | 2.31.12 |
| coder | >= 2.32.0, < 2.32.2 | 2.32.2 |
| coder | >= 2.33.0, < 2.33.3 | 2.33.3 |
References
- https://github.com/coder/coder/security/advisories/GHSA-686c-7vgv-v3fx patch vendor-advisory
- https://github.com/coder/coder/pull/25274 issue-tracking patch
- https://github.com/coder/coder/commit/57b11d405f17492aa789d4b9ff33366f961a37f8 patch
- https://github.com/coder/coder/releases/tag/v2.24.5 release-notes
- https://github.com/coder/coder/releases/tag/v2.29.13 release-notes
- https://github.com/coder/coder/releases/tag/v2.30.8 release-notes
- https://github.com/coder/coder/releases/tag/v2.31.12 release-notes
- https://github.com/coder/coder/releases/tag/v2.32.2 release-notes
- https://github.com/coder/coder/releases/tag/v2.33.3 release-notes
- github.com product
- github.com