Shell command injection in exec allowlist mode via unquoted heredoc expansion
CVE-2026-27209 · GHSA-65rx-fvh6-r4h2 · published 2026-02-21
- Severity
- High
- CVSS score
- Not scored
- Chance of exploitation (EPSS)
- Not scored
- Fixed in
- 2026.2.21
In deployments using security=allowlist, an allowlisted binary invocation could carry an unquoted heredoc body that performs command/variable expansion at execution time.
Upgrade openclaw to 2026.2.21 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
92cada2acad80b05e3d2f89913d4a7ed5fd43499 f23da067f67e81af0e6817984ec650f1712a61f8
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| openclaw | npm | <= 2026.2.19-2 | 2026.2.21 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- CriticalOpenClaw: QQBot admin commands could skip DM-only and allowFrom policyopenclaw
- CriticalOpenClaw: Feishu webhook and card-action validation now fail closedopenclaw
- CriticalOpenClaw: Gateway HTTP endpoints re-resolve bearer auth after SecretRef rotationopenclaw
- CriticalOpenClaw: Sandbox escape via TOCTOU race in remote FS bridge readFileopenclaw
- CriticalOpenClaw: Heartbeat context inheritance bypasses sandbox via senderIsOwner escalationopenclaw
- CriticalOpenClaw has a CWD `.env` environment variable injection which bypasses host-env policy and allows config takeoveropenclaw
The impact, patch and workaround text comes from the advisory, shortened (published by OpenClaw). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.