Skip to main content
VulnerabilityPublished Updated

Openclaw cli: OpenClaw affected by BASH_ENV / ENV startup-file injection into spawned shell commands

Affects openclaw-cliSource GCVE Database

0

CVSS 7.3 High : upgrade to 2026.7.1 soon.

Data as of 17 Nov 2026, 19:05 UTC

CVSS 4.0 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2026.7.1
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

What to do

Upgrade openclaw-cli to 2026.7.1.

Affected software

ProductAffectedFixed in
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threatsAffected
  • <2026.7.1
Fixed in
  • 2026.7.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and planned for release in OpenClaw CLI version 2026.2.21. Users should upgrade to this version once it is published to remediate the vulnerability. The fix includes environment sanitization and blocking of dangerous environment variables to prevent injection. If you cannot patch yet, avoid running the software with untrusted environment inputs or configurations that could be influenced by attackers.

Description

OpenClaw CLI versions up to 2026.2.19-2 are affected by a startup-file injection vulnerability involving the BASH_ENV and ENV environment variables. This flaw allows unintended shell command execution when attacker-controlled environment values are inherited by spawned shell commands. The vulnerability requires local or privileged access to influence environment inputs and cannot be triggered remotely without authentication. A fix has been committed and will be released in version 2026.2.21.

References

Community reviews

Loading reviews…