CVE-2026-27545: OpenClaw: Node system.run approval bypass via parent-symlink cwd rebind
OpenClaw 2026.2.25 and earlier can run an approved node-host command in a different directory than the one the operator saw. Rebinding a writable parent symlink in `cwd` after approval bypasses the approval context. Upgrade to 2026.2.26.
Published Mar 2, 2026 · Updated Mar 18, 2026 · Analysis Nov 15, 2026
What an attacker can do
This is the second symlink bug in OpenClaw's system.run approvals, and it survives the first fix. For host=node executions, the approval records a cwd string. An attacker who controls a writable parent directory component of that path can swap the symlink after approval. The visible cwd text stays identical, but the command spawns elsewhere. The advisory classes it as a link-resolution flaw (CWE-59) and a time-of-check to time-of-use race (CWE-367).
The operator reviews and approves a command for location A. It runs from location B, which can hold attacker-chosen scripts, config files or binaries that the command's relative paths resolve to. The approval step is the control that is supposed to stop that.
The CVSS 4.0 vector rates it network-reachable with no privileges and high integrity impact, which fits a gateway that accepts requests from remote clients. In practice the attacker must also be able to change a symlink component of the working directory on the node. The advisory reports no confidentiality or availability impact.
Who is affected
The npm package openclaw at 2026.2.25 and earlier, for host=node executions of system.run with approvals. Version 2026.2.26 is the fixed release. Note that 2026.2.25 fixed the earlier direct-symlink variant but not this parent-symlink variant.
Check your install on the gateway and each node host:
npm ls openclawopenclaw
- Ecosystem
- npm
- Affected
- <= 2026.2.25
- Fixed in
- 2026.2.26
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.26 or later:
npm install -g [email protected]The fix adds an immutable plan step, system.run.prepare, and systemRunPlanV2 canonical fields (argv, cwd, agentId, sessionKey). Those canonical values are enforced through approval request storage and forwarding. The plan builder now rejects mutable parent-symlink path components. The advisory names no workaround.
How to tell if you were hit
On node hosts, check the directories used as cwd for approved commands: any symlink component that a non-admin user can write is a risk. Compare the cwd in the gateway's approval record with the actual working directory of the spawned process, for example in process audit logs.
If agents request these commands, Beam records agent shell commands, which lets you see where a command really ran.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
For host=node executions, approval context could be bypassed after approval-time by rebinding a writable parent symlink in cwd while preserving the visible cwd string.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected:
<= 2026.2.25 - Fixed:
>= 2026.2.26(planned next npm release)
Impact
A command approved for one filesystem location could execute from a different location if a mutable parent symlink changed between approval and execution.
Fix
- Added immutable approval-time plan preparation (
system.run.prepare) andsystemRunPlanV2canonical fields (argv,cwd,agentId,sessionKey). - Enforced canonical plan values through approval request storage and forwarding-time sanitization.
- Rejected mutable parent-symlink path components during approval-plan building to block symlink rebind bypass.
- Follow-up refactors centralized command catalogs and approval context/error handling to reduce future drift.
Fix Commit(s)
78a7ff2d50fb3bcef351571cb5a0f21430a340c1d82c042b09727a6148f3ca651b254c4a677aff26d06632ba45a8482192792c55d5ff0b2e21abb0a74e690e09c746408b5e27617a20cb3fdc5190dbda4b4718c8dfce2e2c48404aa5088af7c013bed60b
Release Process Note
patched_versions is pre-set to the planned next release (2026.2.26). Once npm [email protected] is published, publish this advisory directly without further version-field edits.
OpenClaw thanks @tdjackey for reporting.
Credited to tdjackey.
Questions
- Is this the same bug as CVE-2026-32043?
No. CVE-2026-32043 covers a symlinked cwd retargeted after approval. This one rebinds a writable parent symlink in the path, and the patch for 32043 in 2026.2.25 does not cover it.
- Which version fixes CVE-2026-27545?
OpenClaw 2026.2.26. Versions up to and including 2026.2.25 are affected.
- Does it affect commands that are not approval-bound?
The advisory describes an approval bypass for host=node executions. It defines no impact beyond a command running from a different location than the one approved.
References
Read for this analysis:
- https://github.com/openclaw/openclaw/security/advisories/GHSA-f7ww-2725-qvw2
- https://www.vulncheck.com/advisories/openclaw-approval-bypass-via-parent-symlink-current-working-directory-rebind
- https://github.com/openclaw/openclaw/commit/4b4718c8dfce2e2c48404aa5088af7c013bed60b
- https://github.com/openclaw/openclaw/commit/4e690e09c746408b5e27617a20cb3fdc5190dbda
- https://github.com/openclaw/openclaw/commit/78a7ff2d50fb3bcef351571cb5a0f21430a340c1
- https://github.com/openclaw/openclaw/commit/d06632ba45a8482192792c55d5ff0b2e21abb0a7
- https://github.com/openclaw/openclaw/commit/d82c042b09727a6148f3ca651b254c4a677aff26
- https://nvd.nist.gov/vuln/detail/CVE-2026-27545
- https://github.com/advisories/GHSA-f7ww-2725-qvw2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
