SCA: security update for github.com/coder/coder/v2 (GHSA-j6xf-jwrj-v5qp)

high Tenable Self-Hosted Container Security Plugin ID 435212

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-58437)

See Also

https://github.com/advisories/GHSA-j6xf-jwrj-v5qp

Plugin Details

Severity: High

ID: 435212

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 9/6/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.37

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:N

CVSS Score Source: CVE-2025-58437

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/5/2025

Vulnerability Publication Date: 9/5/2025

Reference Information

CVE: CVE-2025-58437