{"cve":"CVE-2026-31997","nvd":{"published":"2026-03-19T02:16:05.130","modified":"2026-06-17T10:34:54.360","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":4.4},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":6.7},"cwes":["CWE-367"],"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"],"products":["openclaw:openclaw"],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2026-31997","score":0.00094,"percentile":0.00565,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q399-23r3-hfx4","url":"https://osv.dev/vulnerability/GHSA-q399-23r3-hfx4","summary":"OpenClaw: system.run approvals did not bind PATH-token executable identity, enabling post-approval executable rebind","modified":"2026-03-19T21:41:21.278979Z","packages":[{"ecosystem":"npm","name":"openclaw","purl":"pkg:npm/openclaw","ranges":["<2026.3.1"],"fixed":["2026.3.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}