5.3medium
OpenClaw < 2026.3.8 - Script Content Modification via Mutable Operand Binding in system.run
- Severity
- 5.3medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.22% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-8g75-q649-6pv6
Description
OpenClaw before 2026.3.8 contains an approval bypass vulnerability in system.run where mutable script operands are not bound across approval and execution phases. Attackers can obtain approval for script execution, modify the approved script file before execution, and execute different content while maintaining the same approved command shape.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenClaw OpenClaw | before 2026.3.8 Not affected: 2026.3.8 | CVE List, NVD |
| openclaw (npm) | before 2026.3.8 | GitHub Advisory Database |
All scores
| VulnCheck | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| VulnCheck | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 5.0medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
Classification
What each source says
CVE List
OpenClaw before 2026.3.8 contains an approval bypass vulnerability in system.run where mutable script operands are not bound across approval and execution phases. Attackers can obtain approval for script execution, modify the approved script file before execution, and execute different content while maintaining the same approved command shape.
GitHub Advisory Database
OpenClaw's system.run approval flow did not bind mutable interpreter-style script operands across approval and execution.
A caller could obtain approval for an execution such as sh ./script.sh, rewrite the approved script before execution, and then execute different content under the previously approved command shape. The approved argv values remained the same, but the mutable script operand content could drift after approval.
Latest published npm version verified vulnerable: 2026.3.7
The initial March 7, 2026 fix in c76d29208bf6a7f058d2cf582519d28069e42240 added approval binding for shell scripts and a narrow interpreter set, but follow-up maintainer review on March 8, 2026 found that bun and deno script operands still did not produce mutableFileOperand snapshots.
A complete fix shipped on March 9, 2026 in cf3a479bd1204f62eef7dd82b4aa328749ae6c91, which binds approved bun and deno run script operands to on-disk file snapshots and denies post-approval script drift before execution.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
<= 2026.3.7 - Patched version:
2026.3.8
Fix Commit(s)
c76d29208bf6a7f058d2cf582519d28069e42240cf3a479bd1204f62eef7dd82b4aa328749ae6c91
Release Verification
- npm
2026.3.7remains vulnerable. - npm
2026.3.8contains the completed fix.
Thanks @tdjackey for reporting.
NVD (es)
OpenClaw anterior a 2026.3.8 contiene una vulnerabilidad de omisión de aprobación en system.run donde los operandos de script mutables no están vinculados entre las fases de aprobación y ejecución. Los atacantes pueden obtener aprobación para la ejecución de scripts, modificar el archivo de script aprobado antes de la ejecución y ejecutar contenido diferente mientras mantienen la misma forma de comando aprobada.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-32921 changed 2026-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8g75-q649-6pv6 changed 2026-04-06 | CC-BY-4.0 |
| NVD | CVE-2026-32921 changed 2026-07-25 | Public domain |