Home

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.

PUBLISHED Reserved 2026-03-10 | Published 2026-03-19 | Updated 2026-03-19 | Assigner VulnCheck




MEDIUM: 4.4CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

MEDIUM: 6.0CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

Problem types

CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

Product status

Default status
unaffected

Any version before 2026.3.1
affected

2026.3.1 (semver)
unaffected

Credits

tdjackey reporter

References

github.com/...enclaw/security/advisories/GHSA-q399-23r3-hfx4 (GitHub Security Advisory (GHSA-q399-23r3-hfx4)) third-party-advisory

www.vulncheck.com/...ound-path-token-in-system-run-approvals (VulnCheck Advisory: OpenClaw < 2026.3.1 - Executable Rebind via Unbound PATH-token in system.run Approvals) third-party-advisory

cve.org (CVE-2026-31997)

nvd.nist.gov (CVE-2026-31997)

Download JSON