SCA: security update for github.com/coder/coder/v2 (GHSA-v54h-cp2w-9x4g)

medium Tenable Self-Hosted Container Security Plugin ID 498457

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. Prior to versions
2.29.7, 2.32.7, 2.33.8, and 2.34.2, `coder open app` opens external workspace-app URLs without validating
the scheme or host. When an external app URL contains the `$SESSION_TOKEN` placeholder the CLI replaces it
with the user's real session token before handing the URL to the OS open handler. Practical exploitation
requires the victim to run `coder open app` against a workspace whose external app definition the attacker
controls. Only a malicious template author can control external app URLs. The fix in versions 2.29.7,
2.32.7, 2.33.8, and 2.34.2 applies a URL-scheme allowlist in the CLI and limits `$SESSION_TOKEN`
substitution to trusted destinations like the web frontend. As a workaround, avoid running `coder open
app` for untrusted workspaces. (CVE-2026-55431)

Solution

Update the github.com/coder/coder/v2 library and its related packages to version 2.29.17 or later.

See Also

https://github.com/advisories/GHSA-v54h-cp2w-9x4g

Plugin Details

Severity: Medium

ID: 498457

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 10.74

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-55431

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/6/2026

Vulnerability Publication Date: 7/6/2026

Reference Information

CVE: CVE-2026-55431