CVE-2026-32022

OpenClaw < 2026.2.21 - Arbitrary File Read via grep -e Flag Policy Bypass

State
Published
Severity
6.0 Medium
Published
Mar 19, 2026
Updated
Jun 23, 2026
Reserved
Mar 10, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.0 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NVulnCheck

Weaknesses

  • CWE-184 Incomplete List of Disallowed Inputs

Affected Products

ProductVersions
OpenClawOpenClaw
  • before 2026.2.21Affected
  • 2026.2.21Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.