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
- Restrict access to DockerWorkspace and Apptainer sandbox ports immediately.
- Upgrade to OpenHands Software Agent SDK 1.52.0 or later, and verify remediation separately for Apptainer deployments.
- Recreate DockerWorkspace workspaces after upgrading and check that host-side port bindings use loopback at 127.0.0.1.
- For intentional remote access, configure session_api_keys and verify that requests without a valid key are rejected.
- 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