OpenClaw has Zip Slip path traversal in tar archive extraction
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| npm-Paket | openclaw | < 2026.2.14 | 2026.2.14 |
Verweise
- https://github.com/openclaw/openclaw/security/advisories/GHSA-p25h-9q54-ffvw
- https://nvd.nist.gov/vuln/detail/CVE-2026-28453
- https://github.com/openclaw/openclaw/commit/3aa94afcfd12104c683c9cad81faf434d0dadf87
- https://github.com/openclaw/openclaw
- https://www.vulncheck.com/advisories/openclaw-zip-slip-path-traversal-in-tar-archive-extraction
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N- Schwäche (CWE)
CWE-22- Plattform
- npm
- Paket
openclaw- Veröffentlicht
- 02.03.2026
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-p25h-9q54-ffvw - CC BY 4.0
Schwachstellenhistorie: openclaw
Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 588
- Erste → letzte
- 02.2026 07.2026
- Ohne Fix
- 9
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 20
- Hoch 215
- Mittel 299
- Niedrig 54
Veröffentlichungen pro Jahr
- 2026: 588
-
OpenClaw has Zip Slip path traversal in tar archive extraction dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.