SCA: security update for claude-agent-sdk (GHSA-h4mw-j7qp-8mwm)

critical Tenable Self-Hosted Container Security Plugin ID 476087

Description

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

- Claude Agent SDK is a Python SDK for Claude Code. Prior to 0.2.121, the resume option is passed to the
Claude CLI as a separate token without validation, so a dash-leading value is parsed as an independent CLI
flag. An attacker can inject the --mcp-config flag to define a stdio MCP server, causing arbitrary command
execution at CLI startup outside the SDK permission controls. The issue is exploitable when an application
passes untrusted input as the session ID to resume. This issue is fixed in version 0.2.121.
(CVE-2026-96620)

Solution

Update the claude-agent-sdk library and its related packages to version 0.2.121 or later.

See Also

https://github.com/advisories/GHSA-h4mw-j7qp-8mwm

Plugin Details

Severity: Critical

ID: 476087

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 10/17/2026

Updated: 10/19/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.41

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2026-96620

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9.2

Threat Score: 7.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/16/2026

Vulnerability Publication Date: 10/16/2026

Reference Information

CVE: CVE-2026-96620