Decompress: Archive extraction can create files and links outside of the target directory
- Severity:
- High
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
Related Issues
- SillyTavern has a path traversal in `/api/chats/import` allows arbitrary file write outside intended chat directory - CVE-2026-34522
- StudioCMS: REST API Missing Rank Check Allows Admin to Create Peer Admin Accounts - CVE-2026-32106
- Vercel’s AI SDK's filetype whitelists can be bypassed when uploading files - CVE-2025-48985
- Lobe Chat affected by Cross-Site Scripting(XSS) that can escalate to Remote Code Execution(RCE) - CVE-2026-23733
You might also like:
- Tags:
- npm
- @xhmikosr/decompress
Anything's wrong? Let us know Last updated on July 06, 2026


