Read the docs
TI-2025-36196 Aliases CVE-2025-58437GHSA-j6xf-jwrj-v5qp

Coder's privilege escalation vulnerability could lead to a cross workspace compromise

Priority LOW 37CWE-277Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass, Privilege escalation
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-613 and CWE-269.

Summary

Coder allows organizations to provision remote development environments via Terraform. In versions 2.22.0 through 2.24.3, 2.25.0 and 2.25.1, Coder can be compromised through insecure session handling in prebuilt workspaces. Coder automatically generates a session token for a user when a workspace is started. It is automatically exposed via coder_workspace_owner.session_token. Prebuilt workspaces are initially owned by a built-in prebuilds system user. When a prebuilt workspace is claimed, a new session token is generated for the user that claimed the workspace, but the previous session token for the prebuilds user was not expired. Any Coder workspace templates that persist this automatically generated session token are potentially impacted. This is fixed in versions 2.24.4 and 2.25.2.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00412 35th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed coder (coder): 2.24.4, 2.25.2github.com/coder/coder/v2 (Go): 2.24.4, 2.25.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
codercoder2.22.0 to before 2.24.4; 2.25.0 to before 2.25.22.24.4, 2.25.2Patch availableCNA
—github.com/coder/coder/v2 (Go)2.22.0 to before 2.24.42.24.4Patch availableGHSA-j6xf-jwrj-v5qp
—github.com/coder/coder/v2 (Go)2.25.0 to before 2.25.22.25.2Patch availableGHSA-j6xf-jwrj-v5qp
  • coder Vendorcoder Affected 2.22.0 to before 2.24.4; 2.25.0 to before 2.25.2 Fixed in 2.24.4, 2.25.2 Patch available CNA
  • github.com/coder/coder/v2 (Go) Vendor— Affected 2.22.0 to before 2.24.4 Fixed in 2.24.4 Patch available GHSA-j6xf-jwrj-v5qp
  • github.com/coder/coder/v2 (Go) Vendor— Affected 2.25.0 to before 2.25.2 Fixed in 2.25.2 Patch available GHSA-j6xf-jwrj-v5qp

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*2.22 to before 2.24.4; 2.25.0 to before 2.25.2Vulnerablecoder
  • cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* Versions 2.22 to before 2.24.4; 2.25.0 to before 2.25.2 Vulnerable ·coder

Remediation

  • Fix · CNA coder (coder) Fixed in 2.24.4, 2.25.2
  • Fix · GHSA-j6xf-jwrj-v5qp github.com/coder/coder/v2 (Go) Fixed in 2.24.4 Advisory →
  • Fix · GHSA-j6xf-jwrj-v5qp github.com/coder/coder/v2 (Go) Fixed in 2.25.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-58437
  2. 2026-10-03 Alias added: GHSA-j6xf-jwrj-v5qp

References

  • TI-2026-34071 Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft CVSS 3.1CRITICAL 9.1
  • TI-2026-32394 Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent CVSS 3.1HIGH 8.8
  • TI-2024-18523 Coder's OIDC authentication allows email with partially matching domain to register CVSS 3.1HIGH 8.2
  • TI-2026-39997 Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID CVSS 3.1HIGH 8.7
  • TI-2026-39996 Coder: Route hijacking through lack of validation of agent-supplied AllowedIPs in tailnet coordinator CVSS 3.1HIGH 8.2
  • TI-2026-39995 Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh` CVSS 3.1HIGH 8.3
See all 22 →

Sources