CVE-2026-28453: OpenClaw has Zip Slip path traversal in tar archive extraction
OpenClaw before 2026.2.14 extracted TAR archives without rejecting traversal or absolute entry paths (Zip Slip). A crafted `.tar` or `.tgz` installed with `openclaw plugins install` or `openclaw hooks install` could write files outside the destination directory. Upgrade the `openclaw` npm package to 2026.2.14 and install only archives you trust.
Published Mar 2, 2026 · Updated Mar 6, 2026 · Analysis Oct 31, 2026
What an attacker can do
The vulnerable function is extractArchive() in src/infra/archive.ts. For TAR files it called tar.x({ cwd: destDir }) and did not check entry names. An entry named ../../something or an absolute path was written wherever it pointed, within the permissions of the OpenClaw process. The same extraction code backs the plugin and hook install commands.
The attacker must get a victim to install a malicious archive. That is a poisoned plugin or hook package, a link to a tarball in a tutorial, or a swapped download. Nothing else is needed, and no privileges on the target (the CVSS vectors set user interaction). Once installed, the archive can drop files into places such as OpenClaw's own config, shell startup files or other plugin directories. The advisory says this can lead to configuration tampering and potentially code execution. Plugins and hooks run as trusted code in OpenClaw, so even a legitimate-looking install of a hostile archive is already high risk.
The advisory does not say the flaw is exploited in the wild.
Who is affected
Affected: the openclaw npm package before 2026.2.14, when you install .tar or .tgz archives through openclaw plugins install or openclaw hooks install. Machines that never install third-party archives have little exposure.
Check the version:
npm ls openclawFor a global install, use npm ls -g openclaw.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.2.14
- Fixed in
- 2026.2.14
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.14 or later:
npm install [email protected]The fix commit (3aa94afc) hardens archive extraction for download-installed skills so paths stay inside the target directory, and applies a similar fix to the Signal installer's signal-cli extraction. It also tightens other path handling, including browser download and upload paths. The advisory's mitigation is to avoid installing untrusted plugin or hook archives.
How to tell if you were hit
List files recently written outside the OpenClaw install and plugin directories around the time of a plugin or hook install, for example in the home directory, shell profiles or config folders. Inspect suspicious archives before installing with tar -tzf archive.tgz | grep -E '(^/|\.\./)'. Any hit is a traversal entry. Review the OpenClaw config for entries you did not add and check the plugin and hook directories for items you did not install.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
OpenClaw versions before 2026.2.14 did not sufficiently validate TAR archive entry paths during extraction. A crafted archive could use path traversal sequences (for example ../../...) to write files outside the intended destination directory (Zip Slip).
Affected Packages / Versions
- Package:
openclaw(npm) - Affected:
< 2026.2.14 - Fixed:
>= 2026.2.14
Details
The affected code path is extractArchive() in src/infra/archive.ts. Prior to 2026.2.14, TAR extraction used tar.x({ cwd: destDir }) without rejecting traversal and absolute entry paths.
This extraction is used by installation flows such as:
openclaw plugins install …openclaw hooks install …
Impact
If a user installs an untrusted .tar / .tgz archive, an attacker can write files outside the extraction directory (within the permissions of the OpenClaw process). This can lead to configuration tampering and potentially code execution.
Mitigation
Upgrade to openclaw >= 2026.2.14. Avoid installing untrusted plugin/hook archives.
Fix Commit(s)
3aa94afcfd12104c683c9cad81faf434d0dadf87
OpenClaw thanks @xuemian168 for reporting.
Credited to xuemian168, ShangzhiXu.
Questions
- How do I check whether a tar file is trying Zip Slip?
List its contents with
tar -tzf(ortar -tf) and look for entries that start with/or contain../. A legitimate plugin archive has none.- Does CVE-2026-28453 need user interaction?
Yes. Someone must install the crafted archive, for example with
openclaw plugins installoropenclaw hooks install.- Which version fixes it?
2026.2.14. Earlier versions are affected.
References
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
