Live threats

All CVEs / Coder

CVE-2026-45796Coder

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
Jul 7, 2026
Updated
Jul 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Coder.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/coder/coder ≤ 0.27.3 no fixed version —
Go github.com/coder/coder all no fixed version —
Go github.com/coder/coder/v2 ≥ 2.33.0-rc.0 < 2.33.3 2.33.3 go get github.com/coder/coder/v2@v2.33.3
Go github.com/coder/coder/v2 ≥ 2.32.0-rc.0 < 2.32.2 2.32.2 go get github.com/coder/coder/v2@v2.32.2
Go github.com/coder/coder/v2 ≥ 2.31.0 < 2.31.12 2.31.12 go get github.com/coder/coder/v2@v2.31.12
Go github.com/coder/coder/v2 ≥ 2.30.0 < 2.30.8 2.30.8 go get github.com/coder/coder/v2@v2.30.8
Go github.com/coder/coder/v2 ≥ 2.29.0 < 2.29.13 2.29.13 go get github.com/coder/coder/v2@v2.29.13
Go github.com/coder/coder/v2 < 2.24.5 2.24.5 go get github.com/coder/coder/v2@v2.24.5
Go github.com/coder/coder/v2 < 2.24.5 2.24.5 go get github.com/coder/coder/v2@v2.24.5
Go github.com/coder/coder/v2 ≥ 2.29.0 < 2.29.13 2.29.13 go get github.com/coder/coder/v2@v2.29.13
Go github.com/coder/coder/v2 ≥ 2.30.0 < 2.30.8 2.30.8 go get github.com/coder/coder/v2@v2.30.8
Go github.com/coder/coder/v2 ≥ 2.31.0 < 2.31.12 2.31.12 go get github.com/coder/coder/v2@v2.31.12

Per OSV / GitHub Advisories (GHSA-686c-7vgv-v3fx, GO-2026-5169). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
codercoder< 2.24.5
codercoder≥ 2.29.0 < 2.29.13
codercoder≥ 2.30.0 < 2.30.8
codercoder≥ 2.31.0 < 2.31.12
codercoder≥ 2.32.0 < 2.32.2
codercoder≥ 2.33.0 < 2.33.3

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.