# Claw Chain: four OpenClaw flaws let a foothold read agent secrets and escape the sandbox

Source: https://botpassword.com/incidents/2026-04-openclaw-claw-chain
Disclosed: 2026-04-23 · Type: AI agent · Status: Resolved · Updated: 2026-10-25

On 23 April 2026 OpenClaw published four advisories, fixed in 2026.4.22, that Cyera later described as a chain it named Claw Chain. Together they let an attacker with a foothold in an agent (a malicious plugin, prompt injection or tainted input) gain owner rights over the gateway, read files and environment variables holding API keys and tokens, and write files outside the sandbox for persistence. Update to 2026.4.22 or later and rotate any secret the OpenClaw process could reach.

Identifiers: CVE-2026-44112, CVE-2026-44113, CVE-2026-44115, CVE-2026-44118, GHSA-wppj-c6mr-83jj, GHSA-5h3g-6xhh-rg6p, GHSA-x3h8-jrgh-p8jx, GHSA-r6xh-pqhr-v4xh

## What was exposed

Secrets inside and around the agent. CVE-2026-44115 let shell expansion hidden in unquoted heredoc bodies pass the exec allowlist, which Cyera says could disclose environment variables holding API keys and tokens. CVE-2026-44113 is a time-of-check/time-of-use race in the OpenShell filesystem bridge that let a symlink swap read files outside the mount root, such as host credential and configuration files. CVE-2026-44118 let a non-owner loopback client present itself as owner by manipulating header metadata tied to server-issued bearer tokens, unlocking owner-only gateway configuration and scheduling. CVE-2026-44112 is the matching write-side race, which allowed files to be written outside the sandbox and so enabled persistence on the host. Cyera rates the four at CVSS 9.6, 8.8, 7.8 and 7.7; GitHub's advisory rates the heredoc issue as medium. Neither source reports exploitation in the wild.

## Who is affected

You are affected if you ran OpenClaw 2026.4.21 or earlier, especially an instance reachable from the internet or one that installs third-party plugins or processes untrusted content. Cyera estimates about 65,000 public-facing servers by Shodan and about 180,000 by Zoomeye. Check the installed version, and review gateway configuration and scheduled jobs for entries you did not create.

## What to do

1. Update OpenClaw to 2026.4.22 or later.
2. Rotate every API key, OAuth token and password present in the OpenClaw process environment or readable by its user account.
3. Put internet-facing instances behind authentication or a firewall.
4. Review plugins, cron schedules and gateway settings for changes you did not make, and look for unexpected files written outside the workspace.

## Timeline

- 2026-04-23: OpenClaw publishes GHSA-wppj-c6mr-83jj, GHSA-5h3g-6xhh-rg6p and GHSA-r6xh-pqhr-v4xh (high) and GHSA-x3h8-jrgh-p8jx (medium), all affecting 2026.4.21 and earlier and fixed in 2026.4.22. ([source](https://github.com/openclaw/openclaw/security/advisories/GHSA-wppj-c6mr-83jj))
- 2026-05-06: NVD publishes CVE-2026-44112, CVE-2026-44113, CVE-2026-44115 and CVE-2026-44118. ([source](https://nvd.nist.gov/vuln/detail/CVE-2026-44112))
- 2026-05-15: Cyera publishes its Claw Chain research, rating CVE-2026-44112 at CVSS 9.6, and counts tens of thousands of internet-facing OpenClaw servers. ([source](https://www.cyera.com/blog/claw-chain-cyera-research-unveil-four-chainable-vulnerabilities-in-openclaw))

## Indicators

- OpenClaw versions 2026.4.21 and earlier.
- Scheduled jobs or gateway configuration changes made by a non-owner client.

## Sources

- https://github.com/openclaw/openclaw/security/advisories/GHSA-wppj-c6mr-83jj
- https://github.com/openclaw/openclaw/security/advisories/GHSA-5h3g-6xhh-rg6p
- https://github.com/openclaw/openclaw/security/advisories/GHSA-x3h8-jrgh-p8jx
- https://github.com/openclaw/openclaw/security/advisories/GHSA-r6xh-pqhr-v4xh
- https://nvd.nist.gov/vuln/detail/CVE-2026-44112
- https://www.cyera.com/blog/claw-chain-cyera-research-unveil-four-chainable-vulnerabilities-in-openclaw
