Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-28453: OpenClaw has Zip Slip path traversal in tar archive extraction

highCVSS 4.0 8.3 · 3.1 8.1GHSA-p25h-9q54-ffvw

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 Details The affected code path is extractArchive() in src/infra/archive.ts.

Published Mar 2, 2026 · Updated Mar 6, 2026

Affected packages

openclaw

Ecosystem
npm
Affected
< 2026.2.14
Fixed in
2026.2.14
Check
npm ls openclaw

Advisory details

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.

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. No analysis has been written for this entry yet. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries