Advisory

GHSA-q399-23r3-hfx4

Also known as: CVE-2026-31997

Summary

OpenClaw: system.run approvals did not bind PATH-token executable identity, enabling post-approval executable rebind

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-02 22:03 UTC
Modified
2026-03-19 21:41 UTC

Affected packages and fixes

openclaw

npm · All systems

Affected

  • introduced 0, fixed 2026.3.1 (semver)

Fixed versions

2026.3.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences