# v1.52.0 Moved the Docker Port. The Key List Stayed Empty.

> VulnCheck published CVE-2026-112346 at 15:34:30 UTC on 26 October 2026. It says OpenHands builds before 1.52.0 bind the sandbox server to every interface with an empty session-key list. GitHub release v1.52.0 went out at 04:10:05 UTC on 5 October. The note says loopback. The empty-list default remains on v1.58.2. The Apptainer file hash is unchanged.

Source: https://hackerlogs.com/blog/openhands-loopback-key-clock/
Published: 2026-10-27

## Key takeaways

- CVE-2026-112346 published at 15:34:30.749Z on 26 October. Reserved 19 October. datePublic is 21 September at midnight. CVSS 4.0 is 9.3 and CVSS 3.1 is 9.8. Finder mil4n. No ADP block.
- The patch commit 7b66584 merged at 22:42:41Z on 3 October and touches two Docker files. v1.52.0 published at 04:10:05Z on 5 October. The release note says loopback. It does not say CVE, authentication, or Apptainer.
- openhands-workspace 1.52.0's first wheel is 04:10:28.477265Z on 5 October. Latest on PyPI and GitHub is 1.58.2, from 25 October. The repo advisory list is empty.
- The server text on v1.52.0 and v1.58.2 still says an empty session-key list leaves the server unsecured. The 401 check does not fire when that list is empty. The Apptainer file hash matches v1.51.0.

US trends at 22:16 UTC on 27 October were the Colts, Buckner, and Fleetwood. Genie 4 and GPT-6.1 Terra sat on the same day's list as launches. Hacker News led with Genie 4, Ghostty, and a Tailscale SSH note. X's news tab returned 403. [CVE-2026-112346](https://www.cve.org/CVERecord?id=CVE-2026-112346) published at 2026-10-26T15:34:30.749Z. Hacker News has no story for the id.

 Critical because the record scores 9.3 on CVSS 4.0 and 9.8 on CVSS 3.1, and it says a reachable sandbox port accepts unauthenticated requests. The package change that shipped on 5 October is a Docker host address. The empty session-key list is still the server's own description.

<img src="/openhands-loopback-key-clock.svg" alt="Three panels for the OpenHands sandbox clock: an empty session-key list, a Docker loopback publish that leaves Apptainer unchanged, and a 21 day gap from v1.52.0 to the CVE." width="1200" height="675" />

## The note says loopback.

The primary is the VulnCheck CVE record. Assigner short name VulnCheck. State PUBLISHED. `dateReserved` is 2026-10-19T14:41:46.702Z. `datePublished` and `dateUpdated` are both 2026-10-26T15:34:30.749Z. From reserve to publish is 7 days, 0 hours, 52 minutes, and 44.047 seconds. `datePublic` is 2026-09-21T00:00:00.000Z. From that field to publish is 35 days, 15 hours, 34 minutes, and 30.749 seconds. The weakness is CWE-1327, binding to an unrestricted IP address. CVSS 4.0 is 9.3, `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`. CVSS 3.1 is 9.8, `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`. The finder credit is mil4n. The containers list has no ADP block. The repository security-advisory list is empty.

The affected range is version 0, less than 1.52.0, `pkg:github/OpenHands/software-agent-sdk`. The description says DockerWorkspace and Apptainer workspace launchers bind the sandbox agent server to all network interfaces, written as 0.0.0.0, with an empty `session_api_keys` list, which disables authentication by default. It says a caller who can reach the published container port can send unauthenticated HTTP and WebSocket requests, run shell commands as root in the sandbox, reach the mounted workspace, and read plaintext secrets from the secrets store. This brief did not send those requests.

The references are the v1.52.0 release, pull 5209, commit 7b66584ff8899144eb4ce679c2811861342af9de, and the VulnCheck advisory page. [Pull 5209](https://github.com/OpenHands/software-agent-sdk/pull/5209) opened at 2026-09-21T16:16:24Z, the same calendar day as `datePublic`, 16 hours 16 minutes 24 seconds after midnight. Author Graham Neubig. It merged at 2026-10-03T22:42:41Z. From open to merge is 12 days, 6 hours, 26 minutes, and 17 seconds. The merge commit is 7b66584. The commit touches two files: `openhands-workspace/openhands/workspace/docker/workspace.py` (+11, -3) and `tests/workspace/test_docker_workspace.py` (+77, -0). No Apptainer path is in that commit. Compare of tag v1.52.0 against 7b66584 is behind, ahead 0, behind 11. Compare of tag v1.58.2 against the same commit is behind, ahead 0, behind 229. The commit is in both tags.

Issue 5379, which the pull says it fixes, opened at 2026-09-29T17:07:06Z and closed at 2026-10-03T22:42:42Z, one second after the merge. The issue is 8 days, 0 hours, 50 minutes, and 42 seconds after the pull opened. The issue body says an agent created it on Neubig's behalf. Do not read 29 September as the day the patch started.

[Release v1.52.0](https://github.com/OpenHands/software-agent-sdk/releases/tag/v1.52.0) published at 2026-10-05T04:10:05Z. From the merge to that object is 1 day, 5 hours, 27 minutes, and 24 seconds. The note's relevant bullet is "fix(workspace): publish Docker ports on loopback." The note does not say security, authentication, session key, Apptainer, or a CVE. From that release object to the CVE publish is 21 days, 11 hours, 24 minutes, and 25.749 seconds.

PyPI publishes four distributions at the same version. This brief did not download the files. First wheels, none yanked: openhands-agent-server 2026-10-05T04:10:24.400967Z, openhands-sdk 2026-10-05T04:10:25.929500Z, openhands-tools 2026-10-05T04:10:27.370291Z, openhands-workspace 2026-10-05T04:10:28.477265Z. The workspace sdist is 2026-10-05T04:10:32.005190Z. The Docker file the commit edits lives in the workspace package. `latest` on all four is 1.58.2. The GitHub release v1.58.2 published at 2026-10-25T03:24:42Z. The openhands-workspace 1.58.2 wheel is 2026-10-25T03:25:03.080578Z.

## The empty list is still the default.

On tags v1.52.0 and v1.58.2, `session_api_keys` still uses a default factory, and the field text still says an empty list means the server will be unsecured. The request check raises 401 only when that list is non-empty and the presented key is not in it. An empty list skips the 401. That predicate is the same on v1.51.0, which is inside the CVE range, and on v1.52.0, which is the version the CVE calls fixed. v1.58.2 adds a validator that drops a blank string from the list, so an empty value is not itself a credential. The list is still allowed to be empty, and the unsecured sentence is still in the field text.

The Docker host publish string on v1.51.0 is the host port alone. On v1.52.0 and v1.58.2 it is loopback, then the host port, for the agent port and the optional editor port. The in-container server argument in that same file is still 0.0.0.0 on all three tags. The pull says the server keeps listening on the container interface so Docker forwarding still works. The CVE's "all network interfaces" sentence and the release's "loopback" sentence are different sockets. A sandbox whose port is published on a reachable address, on purpose, is outside what the new default publish covers.

The Docker client on v1.51.0 sets its API key to null. On v1.52.0 and v1.58.2 it reads `OH_SESSION_API_KEYS_0`, then `SESSION_API_KEY`. If both are unset, the value is still null. The forwarded environment names on the Docker workspace include those two variables. Setting one is what fills the list. The upgrade does not invent a key.

The Apptainer workspace file hashes to `632dba938166a0d1cff5adddae7d35aa9e210e6d75f15ceafb5b910883c77287` on v1.51.0, v1.52.0, and v1.58.2. The server host argument in that file is 0.0.0.0, and the client API key is read from `SESSION_API_KEY` only. The CVE names this launcher. The patch commit does not. v1.58.2's security bullets are an emSign distrust pin, a Zod lock to 4.6.7, and a Node.js build for CVE-2026-111497. None of them is CVE-2026-112346.

> The 5 October note publishes Docker host ports on loopback. The session-key list still defaults to empty, and an empty list still skips the 401, including on v1.58.2. The in-container Docker listen address is still 0.0.0.0. The Apptainer file did not change. There is no GitHub advisory and no ADP block to upgrade into.

## What to do with the two launchers.

1. Keep the package clock on 5 October and the disclosure clock on 26 October. v1.52.0 is the version the CVE marks as the fix, and the note operators could read that day says loopback. It does not say an empty key list. From the release object to the CVE is 21 days, 11 hours, 24 minutes, and 25.749 seconds.
2. Set a session key where the workspace launches. `OH_SESSION_API_KEYS_0` or `SESSION_API_KEY` is what the Docker client reads from v1.52.0 on. If both are unset, the client value stays null, and the server text says an empty list is unsecured. Confirm a request without a key is rejected. This brief did not send one.
3. Read the Docker change as a host publish address. The in-container argument in `workspace.py` is still 0.0.0.0 on v1.58.2. A port you publish onto a reachable network is not covered by the loopback default. Put a key in front of that port, and keep the sandbox off a shared interface.
4. Do not close Apptainer with the Docker bullet. The file hash matches from v1.51.0 through v1.58.2, the server host argument is still 0.0.0.0, and the client reads `SESSION_API_KEY` only. The CVE names both launchers. The commit names one.
5. v1.58.2 is latest, and it contains 7b66584. Its 25 October notes name other security work and do not name CVE-2026-112346. The repository advisory list is empty. The CVE record has no ADP block. Bumping to latest without setting a key leaves the default the field text describes.
6. The CVE range starts at version 0, less than 1.52.0. This brief did not bisect older tags past v1.51.0, and it did not download the wheels. The four PyPI names are openhands-sdk, openhands-tools, openhands-agent-server, and openhands-workspace. The edited file is in the workspace distribution.

## Sources

- [CVE-2026-112346](https://www.cve.org/CVERecord?id=CVE-2026-112346) (2026-10-26)
- [OpenHands software-agent-sdk v1.52.0](https://github.com/OpenHands/software-agent-sdk/releases/tag/v1.52.0) (2026-10-05)
- [fix(workspace): publish Docker ports on loopback](https://github.com/OpenHands/software-agent-sdk/pull/5209) (2026-10-03)
- [openhands-workspace 1.52.0 on PyPI](https://pypi.org/project/openhands-workspace/1.52.0/) (2026-10-05)
- [OpenHands software-agent-sdk v1.58.2](https://github.com/OpenHands/software-agent-sdk/releases/tag/v1.58.2) (2026-10-25)
