Live threats

All CVEs / Coder

CVE-2025-58437Coder

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
—
Auth required
Yes
Published
Sep 6, 2025
Updated
Oct 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-277, CWE-279, CWE-613
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Coder.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/coder/coder all no fixed version —
Go github.com/coder/coder/v2 ≥ 2.22.0 < 2.24.4 2.24.4 go get github.com/coder/coder/v2@v2.24.4
Go github.com/coder/coder/v2 ≥ 2.25.0 < 2.25.2 2.25.2 go get github.com/coder/coder/v2@v2.25.2
Go github.com/coder/coder/v2 ≥ 2.22.0 < 2.24.4 2.24.4 go get github.com/coder/coder/v2@v2.24.4
Go github.com/coder/coder/v2 ≥ 2.25.0 < 2.25.2 2.25.2 go get github.com/coder/coder/v2@v2.25.2

Per OSV / GitHub Advisories (GO-2025-3938, GHSA-j6xf-jwrj-v5qp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
codercoder≥ 2.22 < 2.24.4
codercoder≥ 2.25.0 < 2.25.2

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.