Vulnerability in Openclaw
CVE-2026-31997
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.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
EPSS: 0.001 (0.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.0 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N.
Affected products
- Openclaw — versions 0, 2026.3.1
Weakness classification (CWE)
References
- disclosure@vulncheck.com (vendor-advisory, Mitigation, Vendor Advisory, third-party-advisory)
- disclosure@vulncheck.com (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-31997?
- CVE-2026-31997 is a medium-severity vulnerability in Openclaw, classified under Time-of-check Time-of-use (TOCTOU) Race Condition. CVSS score: 6.0/10. Published 2026-03-19.
- How severe is CVE-2026-31997?
- Medium severity. CVSS v3 base score is 6.0 out of 10.