Skip to main content
VulnerabilityPublished Updated

Openclaw cli: OpenClaw has multiple E2E/test Dockerfiles that run all processes as root

Affects openclaw-cliSource GCVE Database

0

CVSS 8.4 High : upgrade to 2026.7.1 soon.

Data as of 17 Nov 2026, 19:05 UTC

CVSS 4.0 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2026.7.1
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H

What to do

Upgrade openclaw-cli to 2026.7.1.

Affected software

ProductAffectedFixed in
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threatsAffected
  • <2026.7.1
Fixed in
  • 2026.7.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available. The vendor partially remediated the issue by adding a USER directive to Dockerfile.sandbox and Dockerfile.sandbox-browser. The remaining affected Dockerfiles should be updated to include a USER directive that creates and switches to a non-root user before CMD or ENTRYPOINT. Specifically, add commands such as 'RUN useradd --create-home --shell /bin/bash appuser' and 'USER appuser' to the Dockerfiles. This reduces the risk by preventing processes from running as root inside the container.

Description

Several Dockerfiles used for end-to-end (E2E) testing and installation in the OpenClaw CLI project run all processes as root due to the absence of a USER directive. This allows processes inside these containers to run with uid 0, increasing the risk of container breakout if compromised. While some Dockerfiles (sandbox and sandbox-browser) have been partially fixed by adding a non-root user, the E2E/test Dockerfiles remain unpatched. The base images used default to root, and the affected Dockerfiles include scripts/e2e/Dockerfile, scripts/e2e/Dockerfile.qr-import, and scripts/docker/install-sh-e2e/Dockerfile. Remediation involves adding a USER directive to run processes as a non-root user.

References

Community reviews

Loading reviews…