8.1

CVE-2025-58437: Coder's privilege escalation vulnerability could lead to a cross workspace compromise

Analyzed
AliasesGHSA-j6xf-jwrj-v5qpGO-2025-3938
Published 06-09-2025Last modified 08-09-2025

Vulnerability summary

CVE-2025-58437 is a high (CVSS 8.1) Insecure Inherited Permissions vulnerability in coder. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 39.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.44%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 06-09-2025
    PublishedVulnerability first disclosed.
  2. 08-09-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.44%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.40% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Coder

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Coder1 product
  • coder≥ 2.22.0, < 2.24.4 | ≥ 2.22, < 2.24.4 | ≥ 2.25.0, < 2.25.2
Github.com/coder1 product
  • coderAll versions (No fix recorded)
Github.com/coder/coder1 product
  • v2≥ 2.22.0, < 2.24.4 | ≥ 2.25.0, < 2.25.2

3 vendors · 3 products

References

9 links