openhands-workspace is vulnerable to Binding to an Unrestricted IP Address
98
CVE Score
Critical
Binding to an Unrestricted IP Address
DockerWorkspace._start_container publishes the sandbox agent-server port on all host interfaces and sets the workspace api_key to None instead of resolving a configured session API key. Before the fix, when no session API key is configured, any machine that can reach the published port can send unauthenticated HTTP and WebSocket requests to the agent server and run shell commands as root in the sandbox, reaching the mounted workspace and secrets. The fix binds the Docker launcher's published ports to 127.0.0.1 and resolves the forwarded session API key.
Upgrade the openhands-workspace package to version 1.52.0 or later.
You are affected if you are using a version that falls within the vulnerable range and run the DockerWorkspace launcher without a configured session API key while the published sandbox agent-server port is reachable from other machines.
1.0.0 - 1.51.0
Fixed in 1.52.0openhands-workspace is vulnerable to Binding to an Unrestricted IP Address in versions 1.0.0 - 1.51.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.