CVE-2025-58437
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-09-06
- Last modified
- 2026-10-19
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.3 %
higher than 28 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Coder | Coder | ≥ 2.22, < 2.24.4 | Affected |
| Coder | Coder | ≥ 2.25.0, < 2.25.2 | Affected |
Weakness type
-
CWE-277: Insecure Inherited Permissions
A product defines a set of insecure permissions that are inherited by objects that are created by the program.
-
CWE-279: Incorrect Execution-Assigned Permissions
While it is executing, the product sets the permissions of an object in a way that violates the intended permissions that have been specified by the user.
-
CWE-613: DEPRECATED: Insufficient Session Expiration
This entry has been deprecated because it was insufficiently clear. Consider CWE-1462 and its descendants.
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
Related at Berigo
Articles
-
A fake sign-in page passes the one-time code straight to Microsoft
Same product
2026-08-18
ANY.RUN describes the Mirage2FA phishing toolkit, which places itself between the victim and Microsoft 365. It collects the password, the one-time co…
-
Older iPhones got 122 security flaws fixed in a single update
Same product
2026-08-18
Apple shipped four security updates on 17 August 2026. The update for the older system line covers only four hardware models, and fixes 122 unique CV…
-
Fake recruiters talked IT staff into installing a VPN client that ran hidden code
Same product
2026-08-12
CERT-UA describes how the threat cluster UAC-0145 approaches IT professionals on job sites and runs a full hiring process, complete with a Telegram c…
-
Cisco Talos shows how DICOM files can be used against imaging systems
Same product
2026-05-28
A Cisco Talos white paper demonstrates how an Orthanc server can be targeted during image upload, resulting in an out-of-bounds write.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.