CVE-2026-28453
HIGH8.1EPSS 0.10%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.
受影響套件(1)
- npm/openclawfrom 0, < 2026.2.14
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-28453
- PATCHhttps://github.com/openclaw/openclaw
- WEBhttps://github.com/openclaw/openclaw/commit/3aa94afcfd12104c683c9cad81faf434d0dadf87
- WEBhttps://github.com/openclaw/openclaw/security/advisories/GHSA-p25h-9q54-ffvw
- WEBhttps://www.vulncheck.com/advisories/openclaw-zip-slip-path-traversal-in-tar-archive-extraction