What’s Vulnerable › Vulnerabilities
CVE-2026-32022: OpenClaw < 2026.2.21 - Arbitrary File Read via grep -e Flag Policy Bypass
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-19 · updated 2026-06-17
- Weakness: CWE-184
Description
OpenClaw versions prior to 2026.2.21 contain a stdin-only policy bypass vulnerability in the grep tool within tools.exec.safeBins that allows attackers to read arbitrary files by supplying a pattern via the -e flag parameter. Attackers can include a positional filename operand to bypass file access restrictions and read sensitive files.env from the working directory.
Affected products
- OpenClaw: before 2026.2.21 — fixed in 2026.2.21
How to fix
Upgrade to a fixed version: OpenClaw 2026.2.21. Check the vendor advisory for mitigations.
References
- https://github.com/openclaw/openclaw/commit/c6ee14d60e4cbd6a82f9b2d74ebeb1e8ee814964
- https://github.com/openclaw/openclaw/security/advisories/GHSA-3xfw-4pmr-4xc5
- https://www.vulncheck.com/advisories/openclaw-arbitrary-file-read-via-grep-e-flag-policy-bypass
Get alerted when CVE-2026-32022 or the next vulnerability affects your stack