Disclosed weakness · no CVE recorded

OpenClaw env split-string commands could hide shell startup assignments

OpenClaw · OpenClaw system.run checks

First documented disclosure · Review checkpoint

Summary

Shell startup assignments inside env split-string commands could avoid execution checks.

Severity and exploitation evidence

No CVSS score recorded in this review.

Exploitation not established: The reviewed sources establish a disclosed weakness or controlled evidence, not malicious exploitation against users. No product, package or payload was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The env parser lost assignment keys inside inline or nested split-string payloads, so startup-file approval and environment validation missed them.

Conditions required

An untrusted command request reaches system.run and can name a shell startup file available to the process.

Potential impact

A shell can load startup code before the nominal command, crossing the intended environment/approval boundary.

Affected versions and configurations

Earlier versions containing the affected parser; exact introduction and full range are unknown.

Fix and mitigation status

Stable 2026.11.10 contains assignment-key propagation and the startup-operand check; beta 2026.12.1-beta.1 repeats it.

Practical next steps

Upgrade to a release with the correction and review command policies for equivalent wrapper forms.

Operating lesson

Validate effective commands after expanding wrapper syntax.

Evidence and limits

PR 203934 opened and merged November 23. The checked stable release predates the new beta, so the beta is not treated as the first remediation. Maintainer proof used a local Linux Gateway/node host; other operating systems and a model turn were not tested. Tagged parser and approval-consumer code were inspected without executing them.

Sources