SCA: security update for github.com/coder/coder/v2 (GHSA-9rjw-3gwp-f59v)

high Tenable Self-Hosted Container Security Plugin ID 497185

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, `UpsertWorkspaceApp` overwrites an existing app's `agent_id` on a
primary-key conflict and `insertAgentApp` accepts the app ID from the provisioner's `CompleteJob` payload
without verifying it belongs to the workspace being built. `CompleteJob` runs under
`dbauthz.AsProvisionerd` so the authorization layer does not block the cross-workspace upsert.
Exploitation requires elevated access as a template author or external provisioner operator. The fix in
versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 verifies that any existing `workspace_apps` row matching the
supplied ID belongs to the workspace being built and rejects cross-workspace agent reassignment. No known
workarounds are available. (CVE-2026-55429)

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-9rjw-3gwp-f59v

Plugin Details

Severity: High

ID: 497185

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.8

Percentile: 58.6

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.7

Temporal Score: 5.7

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

CVSS Score Source: CVE-2026-55429

CVSS v3

Risk Factor: High

Base Score: 8.7

Temporal Score: 7.6

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/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-55429

cwe: CWE-639