Horizon Alert
Summary of the vulnerability and why it matters
A critical vulnerability has been identified in the OpenHands Software Agent SDK that could allow unauthenticated remote code execution. The issue stems from how workspace launchers, by default, bind the agent server to all network interfaces without requiring authentication. This could enable attackers to execute arbitrary commands with root privileges, access mounted workspaces, and read sensitive information if they can reach the exposed container port.
- Unauthenticated remote code execution risk.
- Default configuration bypasses critical security.
- Confirm relevance to protect sensitive data.
Attack Path
How an attacker could exploit the issue
An attacker who can reach the published container port of the OpenHands Software Agent SDK can send unauthenticated requests to execute arbitrary commands. This could occur if the agent's sandbox environment is exposed externally, allowing network access to the vulnerable component. The vulnerability can lead to attackers gaining root-level control within the sandbox, accessing sensitive data, and potentially executing commands on the host system.
- Exposed container port is reachable.
- Unauthenticated HTTP/WebSocket requests trigger.
- Arbitrary command execution as root.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow an unauthenticated attacker with network access to execute arbitrary commands with root privileges within a sandbox environment. This could lead to the exposure of sensitive information, such as secrets stored in a secrets store, and compromise the integrity of the workspace.
- Root command execution in sandboxes.
- Unauthenticated HTTP/WebSocket requests.
- Exposure of plaintext secrets.
Operational Fix
Recommended remediation, mitigation, and detection steps
The OpenHands Software Agent SDK's remote code execution vulnerability primarily impacts platform or infrastructure teams responsible for managing development environments and CI/CD pipelines. The immediate first step is to determine the scope of exposure by identifying all instances of the affected SDK, confirming network reachability to these instances, and assessing their criticality to business operations. This information will inform the accountable owner and guide remediation planning based on risk.
- Platform or infrastructure teams own this.
- Verify network exposure and asset criticality.
- Plan remediation based on identified risk.