Description
When extracting an archive to a directory, a crafted archive can read or write files outside that directory. The flaw is in the code that writes the parsed entries, so it affects every format decompress handles: tar, tar.gz, tar.bz2, and zip by default, plus any others added through the plugins option.
Recommendation
Update the @xhmikosr/decompress package to the latest compatible version. Followings are version details:
Affected version(s): **>= 11.0.0, < 11.1.3 < 10.2.1** Patched version(s): **11.1.3 10.2.1**
References
Could your website be exposed too?
SmartScanner can check your website for Decompress: Archive extraction can create files and links outside of the target directory and gives you actionable findings to investigate.
Start a free scanRelated Issues
- joi: object().rename() with a template target can set the validated object's prototype - CVE-2026-84367
- SillyTavern has a path traversal in `/api/chats/import` allows arbitrary file write outside intended chat directory - CVE-2026-34522
- @xhmikosr/decompress: Path traversal via symlink chain - CVE-2026-101894
- Saltcorn has an Unauthenticated Path Traversal in sync endpoints, allowing arbitrary file write and directory read - CVE-2026-40163


