CVE-2025-58437
CVE-2025-58437 is a high-severity vulnerability in Coder with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-613.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- EPSS exploit prediction: 0% (27th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-27069
- Weakness: CWE-613
- Affected product: Coder
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2025-58437?
- 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.
- How severe is CVE-2025-58437?
- CVE-2025-58437 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2025-58437 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (27th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-58437?
- CVE-2025-58437 affects Coder. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-58437?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-58437 have an EU (EUVD) identifier?
- Yes. CVE-2025-58437 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-27069.
- When was CVE-2025-58437 published?
- CVE-2025-58437 was published on 2025-09-06 and last updated on 2026-06-17.
References
- https://github.com/coder/coder/commit/06cbb2890f453cd522bb2158a6549afa3419c276
- https://github.com/coder/coder/commit/20d67d7d7191a4fd5d36a61c6fc1e23ab59befc0
- https://github.com/coder/coder/commit/ec660907faa0b0eae20fa2ba58ce1733f5f4b35a
- https://github.com/coder/coder/pull/19667
- https://github.com/coder/coder/pull/19668
- https://github.com/coder/coder/pull/19669
- https://github.com/coder/coder/security/advisories/GHSA-j6xf-jwrj-v5qp
Affected products (1)
- cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*
More vulnerabilities in Coder
- CVE-2026-46354 — Critical (CVSS 9.1): Coder allows organizations to provision remote development environments via Terraform. In versions prior tp 2.24.5,…
- CVE-2026-55429 — High (CVSS 8.7): Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7,…
- CVE-2026-55427 — High (CVSS 8.3): Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7,…
- CVE-2026-55428 — High (CVSS 8.2): Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7,…
- CVE-2024-27918 — High (CVSS 8.2): Coder allows oragnizations to provision remote development environments via Terraform. Prior to versions 2.6.1, 2.7.3,…
- CVE-2026-44454 — High (CVSS 8.1): Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7 and…
Other CWE-613 (Insufficient Session Expiration) vulnerabilities
- CVE-2024-8888 — Critical (CVSS 10.0): An attacker with access to the network where CIRCUTOR Q-SMT is located in its firmware version 1.0.4, could steal the…
- CVE-2026-46455 — Critical (CVSS 9.8): Insufficient Session Expiration vulnerability in Apache Camel Keycloak Component. The camel-keycloak security helper…
- CVE-2026-21622 — Critical (CVSS 9.8): Insufficient Session Expiration vulnerability in hexpm hexpm/hexpm ('Elixir.Hexpm.Accounts.PasswordReset' module)…
- CVE-2025-59786 — Critical (CVSS 9.8): 2N Access Commander version 3.4.2 and prior improperly invalidates session tokens, allowing multiple session cookies to…
- CVE-2026-26342 — Critical (CVSS 9.8): Tattile Smart+, Vega, and Basic device families firmware versions 1.181.5 and prior implement an authentication token…
- CVE-2026-1435 — Critical (CVSS 9.8): Not properly invalidated session vulnerability in Graylog Web Interface, version 2.2.3, due to incorrect management of…
Browse all CWE-613 (Insufficient Session Expiration) vulnerabilities →