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.
| Disclosed | April 23, 2026 |
|---|---|
| Affected | OpenClaw, openclaw |
| Type | AI agent |
| Status | Resolved |
| CVE | CVE-2026-44112, CVE-2026-44113, CVE-2026-44115, CVE-2026-44118 |
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.
Am I 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 now
- Update OpenClaw to 2026.4.22 or later.
- Rotate every API key, OAuth token and password present in the OpenClaw process environment or readable by its user account.
- Put internet-facing instances behind authentication or a firewall.
- Review plugins, cron schedules and gateway settings for changes you did not make, and look for unexpected files written outside the workspace.
Timeline
- 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
- NVD publishes CVE-2026-44112, CVE-2026-44113, CVE-2026-44115 and CVE-2026-44118. Source
- 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
Indicators
From the advisories listed below. Use them to search your logs, lockfiles and workflow runs.
- OpenClaw versions 2026.4.21 and earlier.
- Scheduled jobs or gateway configuration changes made by a non-owner client.
What this changes for credential handling
- Environment variables were readable by any command the agent could be tricked into running. BotPassword injects a secret into a single approved command rather than leaving it in the agent's environment.
Frequently asked questions
Am I affected by the OpenClaw incident?
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 was exposed in the OpenClaw incident?
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.
Other ai agent and mcp incidents
- OpenCode on Windows and WSL ran commands from a malicious MCP server during OAuth sign-in 2026-10-04
- OpenCode server's upgrade endpoint let any webpage install an attacker's npm package 2026-09-24
- Cursor before 3.0: prompt-injected agent could escape its sandbox and run code as the user 2026-06-05
- Claude Code trust dialog could be bypassed with a spoofed git worktree, running repo hooks 2026-04-24
- OpenClaw Control UI sent its gateway token to any gatewayUrl in a link, enabling 1-click RCE 2026-01-31
- Claude Code could send Anthropic API keys to a malicious repo's endpoint before the trust prompt 2026-01-20