CVE-2025-58437 — Coder's privilege escalation vulnerability could lead to a cross workspace compromise
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.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- EPSS 0.4% (30-day exploitation probability)+5
- Technical severity (high)+6
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented mitigation — github.com (NIST National Vulnerability Database)
- Go Github.com/coder/coder/v2: fixed in version 2.24.4 — github.com (GitHub Security Advisories)
- Go Github.com/coder/coder/v2: fixed in version 2.25.2 — github.com (GitHub Security Advisories)
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Coder Coder, Go Github.com/coder/coder/v2).
- Apply the fixed version or the patch documented under Remediation.
- Search available logs for exploit probes, errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Coder | Coder | ≥ 2.22 and < 2.24.4≥ 2.25.0 and < 2.25.2 | Vulnerable | NIST National Vulnerability Database |
| Coder | Coder | version >= 2.22.0, < 2.24.4version >= 2.25.0, < 2.25.2 | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Go | Github.com/coder/coder/v2 | ≥ 2.22.0 and < 2.24.4≥ 2.25.0 and < 2.25.2 | Vulnerable | GitHub Security Advisories |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 8.1 | CVSS 3.1 | High | 2.8 | 5.2 | security-advisories@github.com via NIST National Vulnerability Database |
| 8.1 | CVSS 3.1 | High | 2.8 | 5.2 | nvd@nist.gov via NIST National Vulnerability Database |
| 8.1 | CVSS 3.1 | High | — | — | GitHub, Inc. via GitHub Security Advisories |
| 8.1 | CVSS 3.1 | High | — | — | GitHub_M via CVE Program (cve.org) e CISA ADP |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N (score shown at the top: nvd@nist.gov) Weakness MITRE
Weakness class according to MITRE’s CWE catalog.
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Prioritize edge telemetry for the network-reachable component (proxy, WAF, IDS/IPS).
Timeline
What happened to this CVE, newest first.
- 2026
- Fix documented
- Affected products added · go/github.com/coder/coder/v2
- Affected products added · coder/coder
- SSVC assessment updated
- Record published
- Fix documented
- Affected products added · coder/coder
- CVSS changed · 8.1
- Source status changed · → Analyzed
- Record created in this database
- 2025
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 2× References added · Oct 19, 2026 – Oct 19, 2026
- 1× Official description updated · Oct 19, 2026 – Oct 19, 2026
References
9 on the record
- github.com/coder/coder/security/advisories/GHSA-j6xf-jwrj-v5qp
- github.com/coder/coder/commit/06cbb2890f453cd522bb2158a6549afa3419c276
- github.com/coder/coder/commit/20d67d7d7191a4fd5d36a61c6fc1e23ab59befc0
- github.com/coder/coder/commit/ec660907faa0b0eae20fa2ba58ce1733f5f4b35a
- github.com/coder/coder/pull/19669
- github.com/advisories/GHSA-j6xf-jwrj-v5qp
- github.com/coder/coder/pull/19667
- github.com/coder/coder/pull/19668
- nvd.nist.gov/vuln/detail/CVE-2025-58437
Elsewhere on this site
Related CVEs (same products)
- Low CVE-2026-111934 Coder before 2.34.7 IP Spoofing via X-Forwarded-For Header 2d
- Medium CVE-2026-111931 Coder 2.0.0 before 2.34.8 Open Redirect via Workspace App Proxy 2d
- Low CVE-2026-111932 Coder before 2.34.2 Stored HTML Injection via Appearance Settings 2d
- Low CVE-2026-111933 Coder before 2.34.2 User Enumeration via Login Placeholder Hash 2d
- Low CVE-2026-111926 Coder from 2.10.0 before 2.34.8 Information Disclosure via Agent /debug/manifest 2d
- Medium CVE-2026-111928 Coder 2.0.0 before 2.34.8 Authorization Bypass via User-Level ACL in RBAC Policy 2d
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2025-58437 is "Coder's privilege escalation vulnerability could lead to a cross workspace compromise", rated High. It affects Coder (Coder); versions are in the scope table. It is not in CISA KEV, which does not rule out exploitation. CVSS 8.1 describes technical severity. EPSS 0.38% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.