Read the docs

Unauthenticated remote code execution in OpenHands Software Agent SDK

Priority MEDIUM 50CWE-1327Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

OpenHands Software Agent SDK versions before 1.52.0 are affected. The DockerWorkspace and Apptainer workspace launchers bind the sandbox agent server to all network interfaces with an empty session_api_keys list, which disables authentication by default (CWE-1327). An unauthenticated remote attacker who can reach the published container port can run arbitrary shell commands as root in the sandbox, access the mounted workspace and read plaintext secrets from the secrets store.

Written with Claude Haiku 5.5 from the sources below · 2026-11-04

Description from the CNA

OpenHands Software Agent SDK before 1.52.0 contains an unauthenticated remote code execution vulnerability where the DockerWorkspace and Apptainer workspace launchers bind the sandbox agent server to all network interfaces (0.0.0.0) with an empty session_api_keys list, disabling authentication by default. Attackers who can reach the published container port can send unauthenticated HTTP and WebSocket requests to execute arbitrary shell commands as root in the sandbox, access the mounted workspace, and read plaintext secrets from the secrets store.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01014 63rd percentileScored 2026-11-07
Fix Fixed OpenHands Software Agent SDK (OpenHands): 1.52.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OpenHandsOpenHands Software Agent SDKbefore 1.52.01.52.0Patch availableCNA
  • OpenHands Software Agent SDK VendorOpenHands Affected before 1.52.0 Fixed in 1.52.0 Patch available CNA

Remediation

Upgrade OpenHands Software Agent SDK to version 1.52.0, the fixed version.

Written with Claude Haiku 5.5 from the sources below · 2026-11-04

  • Fix · CNA OpenHands Software Agent SDK (OpenHands) Fixed in 1.52.0

Timeline

  1. 2026-10-26 Threatist record created from CVE-2026-112346
  2. 2026-10-27 Alias added: GHSA-rp7h-crm7-h5qj
  3. 2026-11-04 CISA SSVC decision points changed

References

  • TI-2026-26097 OpenHands is Vulnerable to Command Injection through its Git Diff Handler CVSS 3.1CRITICAL 9.9

Sources