SCA: security update for openhands (GHSA-7h8w-hj9j-8rjw)

critical Tenable Cloud Security Plugin ID 439214

Description

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

- OpenHands is software for AI-driven development. Starting in version 1.5.0, a Command Injection
vulnerability exists in the `get_git_diff()` method at `openhands/runtime/utils/git_handler.py:134`. The
`path` parameter from the `/api/conversations/{conversation_id}/git/diff` API endpoint is passed
unsanitized to a shell command, allowing authenticated attackers to execute arbitrary commands in the
agent sandbox. The user is already allowed to instruct the agent to execute commands, but this bypasses
the normal channels. Version 1.5.0 fixes the issue. (CVE-2026-33718)

Solution

Update the openhands library and its related packages to version 1.5.0 or later.

See Also

https://github.com/advisories/GHSA-7h8w-hj9j-8rjw

Plugin Details

Severity: Critical

ID: 439214

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 3/26/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.19

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

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

CVSS Score Source: CVE-2026-33718

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.9

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/25/2026

Vulnerability Publication Date: 3/25/2026

Reference Information

CVE: CVE-2026-33718

cwe: CWE-78