Home / coder / coder / CVE-2025-58437
CVE-2025-58437: is it exploited, and which versions of coder are affected and fixed?
CVE-2025-58437 is a session does not expire vulnerability in coder. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: github.com/coder/coder/v2 from 2.22.0 before 2.24.4 and github.com/coder/coder/v2 from 2.25.0 before 2.25.2 (GitHub advisory GHSA-j6xf-jwrj-v5qp). Fixed in 2.24.4 and 2.25.2 (GitHub advisory GHSA-j6xf-jwrj-v5qp). Severity: High (8.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:17 UTC.
What is 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.
From the CVE record by GitHub_M, last updated September 8, 2025, 16:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| coder | coder | >= 2.22.0, < 2.24.4 >= 2.25.0, < 2.25.2 |
As the CVE record by GitHub_M states it, last updated September 8, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/coder/coder/v2 | >= 2.22.0, < 2.24.4 | 2.24.4 | GHSA-j6xf-jwrj-v5qp |
| Go | github.com/coder/coder/v2 | >= 2.25.0, < 2.25.2 | 2.25.2 | GHSA-j6xf-jwrj-v5qp |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 10, 2025. Summary: Coder vulnerable to privilege escalation could lead to a cross workspace compromise.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| coder | coder | from 2.22 before 2.24.4 | application |
| coder | coder | from 2.25.0 before 2.25.2 | application |
NVD analysis (status Analyzed), last modified October 19, 2026, 17:10 UTC.
How severe is CVE-2025-58437?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | GitHub_M |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-58437 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, September 8, 2025)
- EPSS
- 0.44% probability of exploitation activity in the next 30 days, percentile 39.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-613 session does not expire
- CWE-279 Incorrect Execution-Assigned Permissions
- CWE-277 Insecure Inherited Permissions
- CWE-269 Improper Privilege Management
Where are the vendor advisories and references?
- https://github.com/coder/coder/security/advisories/GHSA-j6xf-jwrj-v5qp x_refsource_CONFIRM
- https://github.com/coder/coder/pull/19667 x_refsource_MISC
- https://github.com/coder/coder/pull/19668 x_refsource_MISC
- https://github.com/coder/coder/pull/19669 x_refsource_MISC
- https://github.com/coder/coder/commit/06cbb2890f453cd522bb2158a6549afa3419c276 x_refsource_MISC
- https://github.com/coder/coder/commit/20d67d7d7191a4fd5d36a61c6fc1e23ab59befc0 x_refsource_MISC
- https://github.com/coder/coder/commit/ec660907faa0b0eae20fa2ba58ce1733f5f4b35a x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 1, 2025
- Published
- September 6, 2025, 02:30 UTC
- CVE record updated
- September 8, 2025, 16:45 UTC by GitHub_M
- NVD
- Analyzed, last modified October 19, 2026, 17:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect coder?
- Nov 26, 2026CVE-2026-137545 coder: NULL pointer dereference (crash)
- Nov 26, 2026CVE-2026-137546 coder: information disclosure
- Nov 26, 2026CVE-2026-137547 coder: information disclosure in error messages
- Nov 26, 2026CVE-2026-137548 coder: improper input validation
- Nov 21, 2026CVE-2026-134361 coder: uncaught exception (crash)
- Nov 21, 2026CVE-2026-134362 coder: cross-site request forgery (CSRF)
- Nov 21, 2026CVE-2026-134363 coder: link following (a symlink lets an attacker reach other files)
- Nov 13, 2026CVE-2026-126308 coder: information disclosure in sent data
Questions about CVE-2025-58437
Is CVE-2025-58437 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.44% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of coder are affected by CVE-2025-58437?
github.com/coder/coder/v2 from 2.22.0 before 2.24.4 and github.com/coder/coder/v2 from 2.25.0 before 2.25.2, per the GitHub advisory GHSA-j6xf-jwrj-v5qp. The tables above give every range the sources list.
Which version fixes CVE-2025-58437?
2.24.4 and 2.25.2, per the GitHub advisory GHSA-j6xf-jwrj-v5qp. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-58437?
High (8.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-58437?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.