Open question

Nobody asked the sandbox controller for a key

OpenHands ran a sandbox control server on every interface with an empty API key list. Anyone who reached the port had root in the sandbox, its workspace and its secrets.

Logged 28 Oct 2026

An empty list and a wide bind

The OpenHands Software Agent SDK runs every task inside a container and drives it from a control server that listens just outside the sandbox boundary. Both of its launchers, DockerWorkspace and Apptainer, bound that server to all interfaces at 0.0.0.0 and shipped it with an empty session_api_keys list. A request that reached the port met no authentication check at all, because an empty key list means every caller is trusted. Nobody asked for a key.

Anyone who could reach the port got HTTP and WebSocket control of the running sandbox, a wide grant for a service that asked for no credentials. From there the caller had a root shell inside the container, the mounted workspace, and the plaintext secrets store laid out beside it. VulnCheck rated the flaw critical and scored it 9.3 under CVSS 4.0, which puts it near the top of that scale. Nothing in the design asked for a password.

The container held the model, and the host stayed outside it. The control channel ran beside that boundary rather than inside it. The isolation held. An attacker did not have to break the sandbox at all, only to speak to the service that operated it.

The fix, as far as the record goes

The fix is in the record as PR 5209 and commit 7b66584, which moved the sandbox listener from every interface to a local address, and 1.52.0 is the first release without the flaw. VulnCheck published the advisory on 26 October. It lists no public proof of concept, and no exploitation is documented in the record. One advisory and one secondary write-up support the entire account, and the write-up paraphrases the advisory rather than adding a second observation. The finding rides on a single source.

Two questions the advisory leaves open

The advisory text does not say what the patch changed, so two questions stay open in this log: whether the empty session_api_keys default survived the fix, and whether the Apptainer launcher got any repair at all. On the Apptainer path, the port may stay closed only because of where it sits on the network. That is an assumption, not a control.

Log take: The boundary held the model, and never covered the network the sandbox sat on. An unset key list meant reachable was enough. An unset key is not a policy. (Interpretation; one advisory, one secondary write-up, no exploitation reported.)

Sources

Research

Thread