openclaw
Affected
- introduced
0, fixed2026.4.2(semver)
Fixed versions
2026.4.2
Fix
- Fixed version
2026.4.2npm install [email protected]
Advisory
Also known as: CVE-2026-41383
OpenClaw: OpenShell mirror mode could delete arbitrary remote directories when roots were mis-scoped
Summary
Before OpenClaw 2026.4.2, the OpenShell mirror backend accepted arbitrary absolute remoteWorkspaceDir and remoteAgentWorkspaceDir values. In mirror mode, those paths were then used as the target of remote cleanup and overwrite operations.
Impact
If an attacker could influence those OpenShell config values, mirror sync could delete the contents of an unintended remote directory and replace them with uploaded workspace data. This was a destructive remote-path bug in the mirror-sync path.
Affected Packages / Versions
openclaw (npm)<= 2026.4.1>= 2026.4.22026.4.1Fix Commit(s)
b21c9840c2e38f4bb338d031511b479d5f07ca25 — constrain OpenShell mirror sync rootsRelease Process Note
The fix is present on main and is staged for OpenClaw 2026.4.2. Publish this advisory after the 2026.4.2 npm release is live.
Thanks @jufeng123768 for reporting.
Medium Basis: The source's own band: MODERATE
0, fixed 2026.4.2 (semver)2026.4.2
2026.4.2npm 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