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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.001 (1.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 2nd percentile — 1.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: +0.000
Affected products
- Openclaw — versions 0, 2026.3.1
Weakness classification (CWE)
References
- github.com/openclaw/openclaw/security/advisories/GHSA-q399-23r3-hfx4 (vendor-advisory, Mitigation, Vendor Advisory, third-party-advisory)
- www.vulncheck.com/advisories/openclaw-executable-rebind-via-unbound-path-token-… (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.