CVE-2026-31997 OpenClaw < 2026.3.1 - Executable Rebind via Unbound PATH-token in system.run Approvals
MediumCVSS 4.4
EPSS 0.15%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
OpenClaw versions prior to 2026.3.1 fail to pin executable identity for non-path-like argv[0] tokens in system.run approvals, allowing post-approval executable rebind attacks. Attackers can modify PATH resolution after approval to execute a different binary than the operator approved, enabling arbitrary command execution.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm openclaw | < 2026.3.1 | 2026.3.1 | Fixed |
| npm openclaw(npm) | < 2026.3.1 | 2026.3.1 | Fixed |
| openclaw | < 2026.3.1 | 2026.3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.3.1 | 2026.3.1 |
| npm openclaw(npm) | < 2026.3.1 | 2026.3.1 |
| openclaw | < 2026.3.1 | 2026.3.1 |
References
- GitHub Security Advisory (GHSA-q399-23r3-hfx4) mitigation vendor-advisory
- VulnCheck Advisory: OpenClaw < 2026.3.1 - Executable Rebind via Unbound PATH-token in system.run Approvals third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product