BreachSpiderVerified, not vibes

CVE-2025-58437 in Coder

High 8.1

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.1
EPSS0.7%
EPSS percentile50th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Coder Coder ≥ 2.22, < 2.24.4 ≥ 2.25.0, < 2.25.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-58437
BreachSpider IDBS-2025-GLOBAL-036187-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Published2025-09-06
Last modified2026-10-19
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-277: CWE-277

CWE-279: CWE-279

CWE-613: CWE-613

Related attack patterns (CAPEC)

CAPEC-81 Web Server Logs Tampering via CWE-279

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Coder versions 2.22.0 through 2.24.3, 2.25.0, and 2.25.1 are vulnerable to session hijacking due to insecure handling of session tokens in prebuilt workspaces.

An attacker with access to a prebuilt workspace can obtain the session token from the coder_workspace_owner.session_token variable, which is automatically exposed. This token can then be used to gain unauthorized access to the user's session.

Questions

What is CVE-2025-58437?

Coder versions 2.22.0 through 2.24.3, 2.25.0, and 2.25.1 are vulnerable to session hijacking due to insecure handling of session tokens in prebuilt workspaces.

What is the CVSS score for CVE-2025-58437?

CVE-2025-58437 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.7%.

Is CVE-2025-58437 actively exploited?

No confirmed active exploitation of CVE-2025-58437 as of 2026-10-25.

How do I remediate CVE-2025-58437?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2025-58437?

CVE-2025-58437 affects Coder Coder.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Coder","product":"Coder","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.