CVE-2026-45796 Coder vulnerable to unauthenticated SSRF via Azure Instance Identity Endpoint

Medium 6.5 Published Updated

Unauthenticated attackers can force the Coder server to make arbitrary HTTP requests, potentially revealing internal network reachability and bypassing security controls.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-45796?

CVE-2026-45796 is a medium-severity server-side request forgery vulnerability in coder, published on 7 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-918

Which versions are affected by CVE-2026-45796?

16 open source packages ship an affected version, including github.com/coder/coder/v2 and github.com/coder/coder. It affects 1 product.

PackageAffectedFixed in
github.com/coder/coder/v2 GoAll versions2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, 2.33.3
github.com/coder/coder/v2 GoAll versions2.24.5
github.com/coder/coder/v2 GoAll versions2.24.5
github.com/coder/coder/v2 GoFrom 2.29.02.29.13
github.com/coder/coder/v2 GoFrom 2.29.02.29.13
github.com/coder/coder/v2 GoFrom 2.30.02.30.8
10 more packages
github.com/coder/coder/v2 GoFrom 2.30.02.30.8
github.com/coder/coder/v2 GoFrom 2.31.02.31.12
github.com/coder/coder/v2 GoFrom 2.31.02.31.12
github.com/coder/coder/v2 GoFrom 2.32.0-rc.02.32.2
github.com/coder/coder/v2 GoFrom 2.32.0-rc.02.32.2
github.com/coder/coder/v2 GoFrom 2.33.0-rc.02.33.3
github.com/coder/coder/v2 GoFrom 2.33.0-rc.02.33.3
github.com/coder/coder GoAll versionsNone
github.com/coder/coder GoAll versions to 0.27.3None
github.com/coder/coder GoAll versions to 0.27.3None

Products include Coder Coder.

How do I fix CVE-2026-45796?

Upgrade github.com/coder/coder/v2 to a fixed version for your release line: 2.24.5, 2.29.13, 2.30.8 or 2.31.12.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-45796 being exploited?

There is no known exploitation of CVE-2026-45796 in the wild and no public exploit code.

Sources

Also known as GHSA-686c-7vgv-v3fx, GO-2026-5169.

Is CVE-2026-45796 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free