| Advisory ID | github_osv/GHSA-q399-23r3-hfx4 |
| Aliases |
CVE-2026-31997
|
| Summary | OpenClaw: system.run approvals did not bind PATH-token executable identity, enabling post-approval executable rebind ### Summary For `host=node` runs, approvals validated command context but did not pin executable identity for non-path-like `argv[0]` tokens (for example `tr`). If PATH resolution changed after approval, execution could run a different binary. ### Impact A previously approved action could execute a different executable than the operator approved. ### Fix Node `system.run` approvals now require immutable `systemRunPlan` data, and path-token commands are pinned to canonical executable identity (`realpath`) across approval and execution. ### Affected and Patched Versions - Affected: `<= 2026.2.26` - Patched: `2026.3.1` |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 7.8 |
| Risk | 3.9 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| System | Score | Found at |
|---|---|---|
| cvssv4 | 8.7 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-q399-23r3-hfx4/GHSA-q399-23r3-hfx4.json |
| generic_textual | HIGH |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/openclaw/openclaw | ||
| https://www.vulncheck.com/advisories/openclaw-executable-rebind-via-unbound-path-token-in-system-run-approvals | ||
| CVE-2026-31997 | https://nvd.nist.gov/vuln/detail/CVE-2026-31997 | |
| GHSA-q399-23r3-hfx4 | https://github.com/openclaw/openclaw/security/advisories/GHSA-q399-23r3-hfx4 |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Attack Requirements (AT) | Privileges Required (PR) | User Interaction (UI) | Vulnerable System Impact Confidentiality (VC) | Vulnerable System Impact Integrity (VI) | Vulnerable System Impact Availability (VA) | Subsequent System Impact Confidentiality (SC) | Subsequent System Impact Integrity (SI) | Subsequent System Impact Availability (SA) |
|---|---|---|---|---|---|---|---|---|---|---|
network adjacent local physical |
low high |
none present |
none low high |
none passive active |
high low none |
high low none |
high low none |
high low none |
high low none |
high low none |
Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-03-19T14:05:09Z/
Decision: Track
Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2026/31xxx/CVE-2026-31997.json
Source Advisory: vulnrichment/CVE-2026-31997
[{'Exploitation': 'none'},
{'Automatable': 'no'},
{'Technical Impact': 'total'},
{'Mission Prevalence': 'minimal'},
{'Public Well-being Impact': 'material'},
{'Mission & Well-being': 'medium'}]