openclaw
Affected
- introduced
0, fixed2026.2.21(semver)
Fixed versions
2026.2.21
Fix
- Fixed version
2026.2.21npm install [email protected]
Advisory
Also known as: None
OpenClaw affected by BASH_ENV / ENV startup-file injection into spawned shell commands
SummaryBASH_ENV / ENV startup-file injection could lead to unintended pre-command shell execution when attacker-controlled environment values were admitted and then inherited by host command execution paths.
Affected Packages / Versions
openclaw (npm)<= 2026.2.19-2main: 2cdbadee1f8fcaa93302d7debbfc529e19868ea42026.2.21Details
The fix hardens environment handling across all relevant execution paths:
Impact
Medium. Exploitation requires local/privileged influence over configuration or environment inputs; there is no standalone remote unauthenticated trigger from this issue alone.
Fix Commit(s)
2cdbadee1f8fcaa93302d7debbfc529e19868ea4Release Process Notepatched_versions is pre-set to the planned next release (2026.2.21). Once npm [email protected] is published, the advisory can be published without further field edits.
OpenClaw thanks @tdjackey for reporting.
High Basis: The source's own band: HIGH
0, fixed 2026.2.21 (semver)2026.2.21
2026.2.21npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0