GHSA-f7ww-2725-qvw2
Fix: openclaw/openclaw@4b4718cGHSA-f7ww-2725-qvw2 is a CWE-367 vulnerability in openclaw. O3 Security confirms whether GHSA-f7ww-2725-qvw2 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.
OpenClaw: Node system.run approval bypass via parent-symlink cwd rebind
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, a proxy for how much of the ecosystem is exposed.
openclawnpmDescription
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | openclaw | all versions | 2026.2.26 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for openclaw. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
Update openclaw to 2026.2.26 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-f7ww-2725-qvw2 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether GHSA-f7ww-2725-qvw2 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to GHSA-f7ww-2725-qvw2. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-f7ww-2725-qvw2 in your dependencies?
O3 detects GHSA-f7ww-2725-qvw2 across npm dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.