CVE-2026-27002: OpenClaw: Docker container escape via unvalidated bind mount config injection
OpenClaw's Docker tool sandbox did not validate its Docker settings. Bind mounts of host paths, host networking and unconfined seccomp or AppArmor profiles could be applied, which allows container escape or host data access. Versions up to 2026.2.14 are affected. Upgrade to 2026.2.15.
Published Feb 18, 2026 · Updated Feb 20, 2026 · Analysis Oct 31, 2026
What an attacker can do
The sandbox runs agent tools inside a Docker container. Its settings under agents.*.sandbox.docker were turned into docker create arguments without checks. A config could mount /etc, /proc, /sys, /dev or the Docker socket into the container, set network=host to drop network isolation, or set seccompProfile=unconfined or apparmorProfile=unconfined to weaken the container.
The attacker must be able to influence the sandbox Docker configuration, or an operator must paste untrusted config. That could be a shared config snippet, a config copied from a tutorial, or a repo that supplies settings. Once such a setting is active, anything that runs in the sandbox, including agent-run commands, can reach host files. A mounted Docker socket gives full control of the host, since the container can start privileged containers.
The CVSS 4.0 vector requires passive user interaction and shows high confidentiality, integrity and availability impact. The weakness is CWE-250, execution with unnecessary privileges.
Who is affected
The npm package openclaw at version 2026.2.14 or earlier. You are exposed only if the Docker sandbox is used and its config contains risky values. Check the version and the config:
npm ls -g openclaw
grep -nE 'binds|network|seccompProfile|apparmorProfile' ~/.openclaw/openclaw.jsonLook for binds on /etc, /proc, /sys, /dev or docker.sock, network set to host, and either profile set to unconfined. The config path may differ in your install.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.2.15
- Fixed in
- 2026.2.15
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.2.15, the patched version (fix commit 887b209):
npm install -g [email protected]The release validates sandbox settings when it builds docker create arguments. It blocks the Docker socket and parent mounts such as /run, /var/run and /var, plus /etc and /proc. It also catches .. paths and symlinks that resolve into them, and rejects non-absolute sources. Schema validation rejects network=host and unconfined profiles, and the security audit now reports dangerous sandbox Docker config.
Workarounds from the advisory: do not bind system directories or the Docker socket in agents.*.sandbox.docker.binds, keep agents.*.sandbox.docker.network at none or bridge, and never use unconfined profiles.
How to tell if you were hit
Audit the sandbox config for the settings listed above. After upgrading, run the OpenClaw security audit, which now surfaces dangerous sandbox Docker config. On the host, run docker inspect on sandbox containers and check Mounts, HostConfig.NetworkMode and HostConfig.SecurityOpt for docker.sock, host or unconfined. Beam records agent shell commands and file access, so a sandbox command that touches host paths would show up there.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
A configuration injection issue in the Docker tool sandbox could allow dangerous Docker options (bind mounts, host networking, unconfined profiles) to be applied, enabling container escape or host data access.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
<= 2026.2.14 - Fixed version:
>= 2026.2.15(next release)
Impact
If an attacker can influence sandbox Docker configuration (or an operator pastes untrusted config), they may be able to:
- mount sensitive host paths (e.g.
/etc,/proc,/sys,/dev, Docker socket) - use
network=hostto bypass container network isolation - use
seccompProfile=unconfined/apparmorProfile=unconfinedto weaken isolation
This can lead to host secret exfiltration or full host control (via Docker socket exposure).
Fix
OpenClaw now blocks dangerous sandbox Docker settings:
- runtime enforcement when building
docker createargs - config-schema validation for
network=host,seccompProfile=unconfined,apparmorProfile=unconfined - security audit findings to surface dangerous sandbox docker config
Workarounds
- Do not configure
agents.*.sandbox.docker.bindsto mount system directories or Docker socket paths. - Keep
agents.*.sandbox.docker.networkatnone(default) orbridge. - Do not use
unconfinedfor seccomp/AppArmor profiles.
Fix Commit(s)
- 887b209db47f1f9322fead241a1c0b043fd38339
- 1b6704ef5800152c777ea52b77aa2c8a46c13705 (docs)
Release Process Note
This advisory is pre-populated with the planned fixed version (>= 2026.2.15). Once [email protected] is published to npm, publishing this advisory should be a single-click action.
Thanks @aether-ai-agent for reporting.
Credited to aether-ai-agent.
Questions
- Is CVE-2026-27002 exploitable by default?
Not from defaults alone. The advisory requires that an attacker can influence the sandbox Docker config, or that an operator applies untrusted config. The defaults of
noneorbridgenetworking are safe.- What is the worst outcome?
Full host control through an exposed Docker socket, or exfiltration of host secrets from mounted paths such as
/etc.- Which version fixes it?
2026.2.15. Versions up to 2026.2.14 are affected.
- Can I mitigate without upgrading?
Yes, by config. Avoid binds on system directories or the Docker socket, keep network at
noneorbridge, and avoidunconfinedseccomp and AppArmor profiles.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
