CVE-2026-32022 PUBLISHED

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

Assigner: VulnCheck
Reserved: 10.03.2026 Published: 19.03.2026 Updated: 19.03.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6

Product Status

Vendor OpenClaw
Product OpenClaw
Versions Default: unaffected
  • affected from 0 to 2026.2.21 (excl.)
  • Version 2026.2.21 is unaffected

Credits

  • Athul Jayaram (@athuljayaram) reporter

References

Problem Types

  • CWE-184: Incomplete List of Disallowed Inputs CWE