Cyber Resilience

CVE-2025-58437

Coder 2.22 – 2.24.4

Public PoC
Published
06 September 2025
Modified
17 October 2025
Patch / advisory
CVSS Score v3.1 8.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0037 30th percentile
Risk Priority 59 floored blend · peak EPSS

Summary

CVE-2025-58437 is a high-severity Insecure Inherited Permissions (CWE-277) vulnerability in Coder Coder. Its CVSS base score is 8.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Browser Session Hijacking (T1185); ranked at the 30th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-12 (Session Termination) and AC-3 (Access Enforcement) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1185 Browser Session Hijacking Collection
Adversaries may take advantage of security vulnerabilities and inherent functionality in browser software to change content, modify user-behaviors, and intercept information as part of various browser session hijacking techniques.
T1550 Use Alternate Authentication Material Lateral Movement
Adversaries may use alternate authentication material, such as password hashes, Kerberos tickets, and application access tokens, in order to move laterally within an environment and bypass normal system access controls.
T1550.004 Web Session Cookie Lateral Movement
Adversaries can use stolen session cookies to authenticate to web applications and services.
T1563 Remote Service Session Hijacking Lateral Movement
Adversaries may take control of preexisting sessions with remote services to move laterally in an environment.
T1034 Path Interception Persistence
**This technique has been deprecated.
T1222 File and Directory Permissions Modification Defense Impairment
Adversaries may modify file or directory permissions/attributes to evade access control lists (ACLs) and access protected files.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-55437Same product: Coder Coder
CVE-2026-55075Same product: Coder Coder
CVE-2026-55076Same product: Coder Coder
CVE-2025-66411Same product: Coder Coder
CVE-2026-55432Same product: Coder Coder
CVE-2026-55433Same product: Coder Coder
CVE-2026-55438Same product: Coder Coder
CVE-2026-55431Same product: Coder Coder
CVE-2026-55428Same product: Coder Coder
CVE-2026-55077Same product: Coder Coder

Affected Assets

coder
coder
2.22 — 2.24.4 · 2.25.0 — 2.25.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 10 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

AC-12 directly requires automatic session termination after a defined period, structurally preventing reuse of expired session identifiers.

Enforcing approved authorizations structurally stops the runtime assignment of permissions that violate user intent.

Least privilege requires that only the minimal necessary permissions are granted, which structurally prevents the definition and inheritance of overly broad permissions.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-01 mostly match
prevents

Credential lifecycle management directly includes enforcing session expiration to prevent reuse.

PR.AA-05 mostly match
prevents

Directly addresses defining and enforcing secure access permissions and least privilege, which prevents insecure inheritance.

PR.AA-03 partial match
prevents

Authentication mechanisms can incorporate session timeout checks but do not inherently address expiration policy.

PR.PS-01 partial match
prevents

Configuration management practices include establishing secure permission baselines that avoid insecure inheritance.

PR.PS-06 partial match
prevents

Secure SDLC practices would catch and prevent defining insecure inherited permissions during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing may detect permission issues but does not prevent insecure inheritance by design.

mitigates

Restricting privileged utility programs reduces the chance that such tools will incorrectly alter object permissions.

degrades

Privileged access rights management can limit inheritance of excessive permissions but does not directly address insecure default permission inheritance.

prevents

Secure development lifecycle practices can include permission model reviews but do not guarantee secure inherited permissions.

prevents

Secure system architecture principles can incorporate least-privilege permission models but do not specifically mandate secure inheritance.

prevents

Secure coding standards can explicitly require setting restrictive permissions at object creation, directly mitigating insecure inheritance.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Windows Server 2016 (2 rules)
  • V-224974 Domain-created Active Directory Organizational Unit (OU) objects must have proper access control permissions. prevents CWE-277
  • V-224972 Active Directory Group Policy objects must have proper access control permissions. prevents CWE-277
Windows Server 2019 (2 rules)
  • V-205743 Windows Server 2019 organization created Active Directory Organizational Unit (OU) objects must have proper access control permissions. prevents CWE-277
  • V-205741 Windows Server 2019 Active Directory Group Policy objects must have proper access control permissions. prevents CWE-277
Windows Server 2022 (1 rule)
  • V-254395 Windows Server 2022 organization created Active Directory Organizational Unit (OU) objects must have proper access control permissions. prevents CWE-277

References