CVE-2025-58437Coder
High 8.1
Follow: this CVE · Coder · Coder We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.1
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 6, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- 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.
What to do
- Apply the vendor's security update for Coder.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| coder | coder | ≥ 2.22 < 2.24.4 |
| coder | coder | ≥ 2.25.0 < 2.25.2 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Issue Tracking
- github.com Issue Tracking
- github.com Issue Tracking
- github.com Exploit Mitigation Vendor Advisory