OpenClaw "Claw Chain": four chainable sandbox, exec-allowlist and MCP loopback flaws (CVE-2026-44112, CVE-2026-44113, CVE-2026-44115, CVE-2026-44118) fixed in release 2026.4.22
OpenClaw "Claw Chain": code running in the agent sandbox can expose secrets, take owner control and plant backdoors
Analysis
Cyera disclosed four vulnerabilities in OpenClaw, an open-source platform for autonomous AI agents originally launched as Clawdbot in late 2025, on 2026-05-15 after reporting them to the maintainers in April (Cyera, 2026-05-15). OpenClaw's advisories of 2026-04-23 list the openclaw npm package up to release 2026.4.21 as affected and 2026.4.22 as fixed for all four (OpenClaw GHSA-wppj-c6mr-83jj, 2026-04-23; OpenClaw GHSA-5h3g-6xhh-rg6p, 2026-04-23; OpenClaw GHSA-x3h8-jrgh-p8jx, 2026-04-23; OpenClaw GHSA-r6xh-pqhr-v4xh, 2026-04-23). CVE-2026-44112 and CVE-2026-44113 are time-of-check/time-of-use races in the OpenShell sandbox's filesystem bridge, where a symlink swap redirects a write outside the intended mount root or makes a read return bytes from outside it (OpenClaw GHSA-wppj-c6mr-83jj, 2026-04-23; OpenClaw GHSA-5h3g-6xhh-rg6p, 2026-04-23). CVE-2026-44115 lets an allowlisted command hide shell expansion in an unquoted heredoc body, so the shell evaluates more than the approved command text shows, which Cyera says returns environment variables such as API keys and tokens (OpenClaw GHSA-x3h8-jrgh-p8jx, 2026-04-23; Cyera, 2026-05-15). CVE-2026-44118 sits on the loopback MCP path, which accepted spoofable owner-context metadata from request headers and so let a non-owner loopback client act as owner for owner-gated operations such as gateway configuration, cron scheduling and execution-environment management (OpenClaw GHSA-r6xh-pqhr-v4xh, 2026-04-23; Cyera, 2026-05-15).
Cyera's chain starts from code execution inside the OpenShell sandbox through a malicious plugin, prompt injection or compromised external input, uses the read escape and the heredoc flaw to expose credentials, secrets and files, the loopback flaw for owner-level control of the agent runtime, and the write escape to plant backdoors or change configuration; it says each step looks like normal agent behavior to traditional controls (Cyera, 2026-05-15). Cyera rates CVE-2026-44112 at CVSS 9.6 and CVE-2026-44115 at 8.8 (Cyera, 2026-05-15), VulnCheck scores them 8.4 and 8.7 in CVSS 4.0 (VulnCheck, CVE-2026-44112; VulnCheck, CVE-2026-44115), and OpenClaw's own advisory for the heredoc allowlist bypass rates it moderate (OpenClaw GHSA-x3h8-jrgh-p8jx, 2026-04-23). Cyera counts about 65,000 (Shodan) and about 180,000 (Zoomeye) publicly accessible OpenClaw instances as of May 2026 (Cyera, 2026-05-15). Neither Cyera nor the vendor advisories report exploitation.
Cited evidence
A time-of-check/time-of-use race around OpenShell sandbox filesystem writes could let a symlink swap redirect a write outside the intended local mount root.
An allowlisted command containing an unquoted heredoc could hide shell expansion in the heredoc body.
The loopback MCP path accepted spoofable owner-context metadata from request headers, which could allow a non-owner loopback client to present itself as owner for owner-gated operations.
A malicious plugin, prompt injection, or compromised external input gains code execution inside the OpenShell sandbox.
Assume any environment variable or credential reachable by OpenClaw processes may be compromised.
Updates1
CVE-2026-44115 does not hide expansion tokens in environment-variable names: an allowlisted command containing an unquoted heredoc can hide shell expansion in the heredoc body, so the shell runs more than the approved text shows (OpenClaw GHSA-x3h8-jrgh-p8jx, 2026-04-23). Cyera reports about 65,000 instances on Shodan and about 180,000 on Zoomeye as two separate counts, not a combined 245,000, and its chain runs from a foothold inside the sandbox through the read escape and the heredoc flaw (credentials and files), then the loopback flaw (owner control), to the write escape (backdoors and persistence) (Cyera, 2026-05-15). The advisories list release 2026.4.21 and earlier as affected and 2026.4.22 as the fix for all four (OpenClaw GHSA-r6xh-pqhr-v4xh, 2026-04-23). The 9.6 for CVE-2026-44112 is Cyera's score; VulnCheck scores it 8.4 in CVSS 4.0 (VulnCheck, CVE-2026-44112), and OpenClaw's advisory for the heredoc bypass rates it moderate (OpenClaw GHSA-x3h8-jrgh-p8jx, 2026-04-23).
Sources8
Revision history
- Published 2026-05-16-5bc123a0
- Correction 2026-10-21T1148Z-audit
CVE-2026-44115 hides shell expansion in unquoted heredoc bodies so an allowlisted command evaluates more than it shows, rather than smuggling tokens in environment-variable names. Cyera's two scanner counts, about 65,000 on Shodan and 180,000 on Zoomeye, are separate figures, not 245,000 exposed servers, and its chain runs from a sandbox foothold through credential exposure and owner control to persistence through the write escape. All four flaws are fixed in openclaw release 2026.4.22, and the CVSS scores differ by scorer, with OpenClaw rating CVE-2026-44115 moderate.
Changed: actions affected_products body classification cves evidence headline priority sources sourcing_note summary techniques title
AI-generated · no human review · this permalink is the shareable record for the finding · verify operationally critical claims against the linked primary source.