BuildRiot
Sign in

AISource: VulnCheck

VulnCheck disclosed unauthenticated command execution flaw in OpenHands SDK

VulnCheck disclosed a flaw in OpenHands Software Agent SDK versions before 1.52.0. Attackers who can reach a published sandbox port can execute commands as root inside the sandbox, access mounted workspace files, and read plaintext secrets from the secrets store.

VulnCheck logo
Cover: BuildRiot

VulnCheck disclosed an unauthenticated command execution flaw in OpenHands Software Agent SDK on October 26, 2026, affecting versions before 1.52.0. Its advisory identifies CVE-2026-112346 and rates it critical, with a Common Vulnerability Scoring System 4.0 score of 9.3. Sources: VulnCheck

According to VulnCheck, the DockerWorkspace and Apptainer launchers expose the sandbox agent server on 0.0.0.0 with an empty session_api_keys list, disabling authentication by default. Attackers who can reach a published sandbox port can execute commands as root inside the sandbox, access mounted workspace files, and read plaintext secrets from the secrets store. Sources: VulnCheck

OpenHands merged pull request #5209 on October 3, 2026. It publishes Docker’s API and optional VS Code ports on host loopback. The patch also retains the configured session key in the workspace client. The server continues listening on all interfaces inside the container for Docker forwarding. Sources: OpenHands

The cited pull request changes DockerWorkspace. Whether Apptainer is fully remediated remains unclear. VulnCheck describes root access inside the sandbox but does not establish a container escape or host-root takeover. Sources: VulnCheck, OpenHands

What to do

  1. Restrict access to DockerWorkspace and Apptainer sandbox ports immediately.
  2. Upgrade to OpenHands Software Agent SDK 1.52.0 or later, and verify remediation separately for Apptainer deployments.
  3. Recreate DockerWorkspace workspaces after upgrading and check that host-side port bindings use loopback at 127.0.0.1.
  4. For intentional remote access, configure session_api_keys and verify that requests without a valid key are rejected.
  5. For previously reachable DockerWorkspace or Apptainer sandboxes, review activity and rotate exposed credentials where unauthorized access is suspected or cannot reasonably be excluded. Sources: VulnCheck, OpenHands

Why it matters

The flaw exposes workspace files and secrets alongside sandbox command execution, but attackers must be able to reach the published container port. Docker’s loopback patch limits that network exposure.

Attribution

Sources

  1. 1VulnCheckOpenHands Software Agent SDK < 1.52.0 Unauthenticated Sandbox Agent Server RCESource published (UTC)
  2. 2OpenHandsfix(workspace): publish Docker ports on loopback
  3. 3OneSignalDeskOpenHands SDK, MCP Toolbox Critical Flaws: Update Now

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

More on AI

All AI stories
VulnCheck disclosed unauthenticated command execution flaw in OpenHands SDK · BuildRiot