Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-45796 EUVD-2026-42108GHSA-686c-7vgv-v3fxGO-2026-5169

Coder vulnerable to unauthenticated SSRF via Azure Instance Identity Endpoint

Published Jul 7, 2026 · Updated Jul 8, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
coder coder >= 2.33.0-rc.0, < 2.33.3, >= 2.32.0-rc.0, < 2.32.2, >= 2.31.0, < 2.31.12, >= 2.30.0, < 2.30.8, >= 2.29.0, < 2.29.13, < 2.24.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/coder/coder <= 0.27.3 — GHSA-686c-7vgv-v3fx
Go github.com/coder/coder all versions — GO-2026-5169
Go github.com/coder/coder/v2 >= 2.33.0-rc.0, < 2.33.3 2.33.3 GHSA-686c-7vgv-v3fx
Go github.com/coder/coder/v2 >= 2.32.0-rc.0, < 2.32.2 2.32.2 GHSA-686c-7vgv-v3fx
Go github.com/coder/coder/v2 >= 2.31.0, < 2.31.12 2.31.12 GHSA-686c-7vgv-v3fx
Go github.com/coder/coder/v2 >= 2.30.0, < 2.30.8 2.30.8 GHSA-686c-7vgv-v3fx
Go github.com/coder/coder/v2 >= 2.29.0, < 2.29.13 2.29.13 GHSA-686c-7vgv-v3fx
Go github.com/coder/coder/v2 < 2.24.5 2.24.5 GHSA-686c-7vgv-v3fx
Go github.com/coder/coder/v2 < 2.24.5 · >= 2.29.0, < 2.29.13 · >= 2.30.0, < 2.30.8 · >= 2.31.0, < 2.31.12 · >= 2.32.0-rc.0, < 2.32.2 · >= 2.33.0-rc.0, < 2.33.3 2.24.5, 2.29.13, 2.30.8, 2.31.12, 2.32.2, 2.33.3 GO-2026-5169

Advisories 1

References