Description
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.
Published: 2026-10-26
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

OpenHands Software Agent SDK versions prior to 1.52.0 expose a sandbox agent server that listens on all network interfaces (0.0.0.0) with an empty session_api_keys list. This configuration disables authentication, allowing anyone who can reach the exposed container port to send unauthenticated HTTP and WebSocket requests. The payload execution mechanisms in DockerWorkspace and Apptainer workspace launchers do not properly validate command inputs, enabling an attacker to execute arbitrary shell commands as root within the sandbox environment. The attacker gains full control over the sandbox, can access the mounted workspace, and read plaintext secrets from the secrets store, potentially compromising sensitive data and system integrity.

Affected Systems

The vulnerability affects OpenHands Software Agent SDK, specifically versions earlier than 1.52.0. No particular sub‑version range is listed beyond the noted cutoff, so all releases before 1.52.0 are considered impacted.

Risk and Exploitability

The CVSS score of 9.3 indicates a critical severity. The EPSS score is not available, so the exact likelihood of exploitation is uncertain, but the absence of a KEV listing suggests there is no documented widespread exploitation yet. Nevertheless, the vulnerability requires only network reachability to the published container port, and no authentication or privileged credentials are needed. Attackers can exploit this vector to run arbitrary code as root, making the risk high for any exposed instance.

Generated by OpenCVE AI on October 26, 2026 at 17:27 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the OpenHands Software Agent SDK to version 1.52.0 or later. This release removes the unauthenticated binding to 0.0.0.0 and enforces session API key authentication.
  • Reconfigure the sandbox agent server to bind only to trusted interfaces or loopback addresses, and ensure authentication mechanisms are enabled for all incoming connections. This limits exposure to the local host and reduces the attack surface.
  • Apply a consistent input‑validation policy for any remaining command execution paths, following the guidance for CWE‑1327, to prevent future command injection scenarios.

Generated by OpenCVE AI on October 26, 2026 at 17:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Openhands
Openhands openhands Software Agent Sdk
Vendors & Products Openhands
Openhands openhands Software Agent Sdk

Mon, 26 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description 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.
Title OpenHands Software Agent SDK < 1.52.0 Unauthenticated Sandbox Agent Server RCE
Weaknesses CWE-1327
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Openhands Openhands Software Agent Sdk
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T15:34:30.749Z

Reserved: 2026-10-19T14:41:46.702Z

Link: CVE-2026-112346

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-26T16:17:14.110

Modified: 2026-10-26T18:39:42.503

Link: CVE-2026-112346

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T18:49:43Z

Weaknesses
  • CWE-1327

    Binding to an Unrestricted IP Address