Low severityNVD Advisory· Published Mar 19, 2026· Updated Apr 29, 2026
OpenClaw < 2026.2.19 - safeBins stdin-only bypass via sort output and recursive grep flags
CVE-2026-31996
Description
OpenClaw versions prior to 2026.2.19 tools.exec.safeBins contains an input validation bypass vulnerability that allows attackers to execute unintended filesystem operations through sort output flags or recursive grep flags. Attackers with command execution access can leverage sort -o flag for arbitrary file writes or grep -R flag for recursive file reads, circumventing intended stdin-only restrictions.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openclawnpm | < 2026.2.19 | 2026.2.19 |
Affected products
1Patches
12c05cbb43e48fix(ci): use versioned actionlint checksum asset
1 file changed · +1 −1
.github/workflows/workflow-sanity.yml+1 −1 modified@@ -55,7 +55,7 @@ jobs: archive="actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz" base_url="https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}" curl -sSfL -o "${archive}" "${base_url}/${archive}" - curl -sSfL -o checksums.txt "${base_url}/checksums.txt" + curl -sSfL -o checksums.txt "${base_url}/actionlint_${ACTIONLINT_VERSION}_checksums.txt" grep " ${archive}\$" checksums.txt | sha256sum -c - tar -xzf "${archive}" actionlint sudo install -m 0755 actionlint /usr/local/bin/actionlint
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/openclaw/openclaw/commit/2c05cbb43e48ebad03626d3125746fb1b9a8520fghsapatchWEB
- github.com/advisories/GHSA-4685-c5cp-vp95ghsaADVISORY
- github.com/openclaw/openclaw/security/advisories/GHSA-4685-c5cp-vp95ghsathird-party-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-31996ghsaADVISORY
- www.vulncheck.com/advisories/openclaw-safebins-stdin-only-bypass-via-sort-output-and-recursive-grep-flagsghsathird-party-advisoryWEB
News mentions
0No linked articles in our index yet.