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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-3xfw-4pmr-4xc5 | OpenClaw safeBins grep -e File Read Bypass (stdin-only policy bypass) |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 19 Mar 2026 22:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | OpenClaw < 2026.2.21 - Arbitrary File Read via grep -e Flag Policy Bypass | |
| First Time appeared |
Openclaw
Openclaw openclaw |
|
| Weaknesses | CWE-184 | |
| CPEs | cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Openclaw
Openclaw openclaw |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-03-19T22:06:58.574Z
Reserved: 2026-03-10T19:48:40.708Z
Link: CVE-2026-32022
No data.
Status : Received
Published: 2026-03-19T22:16:36.310
Modified: 2026-03-19T22:16:36.310
Link: CVE-2026-32022
No data.
OpenCVE Enrichment
No data.
Weaknesses
Github GHSA