Home

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.

PUBLISHED Reserved 2026-03-10 | Published 2026-03-19 | Updated 2026-05-27 | Assigner VulnCheck




MEDIUM: 6.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-184: Incomplete List of Disallowed Inputs

Product status

Default status
unaffected

Any version before 2026.2.21
affected

2026.2.21 (semver)
unaffected

Credits

Athul Jayaram (@athuljayaram) reporter

References

github.com/...enclaw/security/advisories/GHSA-3xfw-4pmr-4xc5 (GitHub Security Advisory (GHSA-3xfw-4pmr-4xc5)) third-party-advisory

github.com/...ommit/c6ee14d60e4cbd6a82f9b2d74ebeb1e8ee814964 (Patch Commit) patch

www.vulncheck.com/...file-read-via-grep-e-flag-policy-bypass (VulnCheck Advisory: OpenClaw < 2026.2.21 - Arbitrary File Read via grep -e Flag Policy Bypass) third-party-advisory

cve.org (CVE-2026-32022)

nvd.nist.gov (CVE-2026-32022)

Download JSON