# CVE-2026-32022: OpenClaw < 2026.2.21 - Arbitrary File Read via grep -e Flag Policy Bypass

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-02)
- Published: 2026-03-03T19:09:20.000Z
- Modified: 2026-06-23T16:14:41.384Z
- Also known as: GHSA-3xfw-4pmr-4xc5
- Weaknesses: CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: before 2026.2.21 (not affected: 2026.2.21)
- openclaw (npm): before 2026.2.21

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `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`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-3xfw-4pmr-4xc5> (vendor-advisory, web)
- <https://github.com/openclaw/openclaw/commit/c6ee14d60e4cbd6a82f9b2d74ebeb1e8ee814964> (patch, web)
- <https://www.vulncheck.com/advisories/openclaw-arbitrary-file-read-via-grep-e-flag-policy-bypass> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32022> (advisory)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- CVE List: [CVE-2026-32022](https://www.cve.org/CVERecord?id=CVE-2026-32022), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-3xfw-4pmr-4xc5](https://github.com/advisories/GHSA-3xfw-4pmr-4xc5), CC-BY-4.0, modified 2026-06-08
- NVD: [CVE-2026-32022](https://nvd.nist.gov/vuln/detail/CVE-2026-32022), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32022 · Whole record: https://cve.day/CVE-2026-32022.json · Rebuilt by cve.day 2026-11-25T22:59:16.207Z
