SCA: security update for @gitlawb/openclaude (GHSA-m6rx-7pvw-2f73)

high Tenable Self-Hosted Container Security Plugin ID 440700

Description

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

- OpenClaude is an open-source coding-agent command line interface for cloud and local model providers.
Versions prior to 0.5.1 have a logic flaw in `bashToolHasPermission()` inside
`src/tools/BashTool/bashPermissions.ts`. When the sandbox auto-allow feature is active and no explicit
deny rule is configured, the function returns an `allow` result immediately — before the path constraint
filter (`checkPathConstraints`) is ever evaluated. This allows commands containing path traversal
sequences (e.g., `../../../../../etc/passwd`) to bypass directory restrictions entirely. Version 0.5.1
contains a patch for the issue. (CVE-2026-35570)

Solution

Update the @gitlawb/openclaude library and its related packages to version 0.5.1 or later.

See Also

https://github.com/advisories/GHSA-m6rx-7pvw-2f73

Plugin Details

Severity: High

ID: 440700

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 4/21/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.8

Percentile: 96.94

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.9

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

CVSS Score Source: CVE-2026-35570

CVSS v3

Risk Factor: High

Base Score: 8.4

Temporal Score: 7.6

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/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: 4/21/2026

Vulnerability Publication Date: 4/20/2026

Reference Information

CVE: CVE-2026-35570