What’s Vulnerable › Vulnerabilities
CVE-2026-31997: OpenClaw < 2026.3.1 - Executable Rebind via Unbound PATH-token in system.run Approvals
- Severity: medium (CVSS 6.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-19 · updated 2026-06-17
- Weakness: CWE-367
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.
Affected products
- OpenClaw: before 2026.3.1 — fixed in 2026.3.1
How to fix
Upgrade to a fixed version: OpenClaw 2026.3.1. Check the vendor advisory for mitigations.
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-q399-23r3-hfx4
- https://www.vulncheck.com/advisories/openclaw-executable-rebind-via-unbound-path-token-in-system-run-approvals
Get alerted when CVE-2026-31997 or the next vulnerability affects your stack