
Cloud Vulnerability DB
A community-led vulnerabilities database
@appium/support exposes an extractAllTo(zipFilePath, destDir, opts) ZIP extraction helper that supports an opt-in useSystemUnzip: true option. When that option is set, extraction is delegated to the system unzip binary and the function returns before the hardened JavaScript extractor runs. The system-unzip path performs no symlink target validation, so an attacker who controls a ZIP archive that an application extracts with useSystemUnzip: true can plant a symbolic link pointing outside the extraction directory and then write attacker-controlled file content to an arbitrary location writable by the Appium process.
The security invariant is that no archive entry may cause a write outside the extraction root. The JavaScript extractor (ZipExtractor) enforces this by resolving each symlink target and rejecting any that escapes the root. The useSystemUnzip: true branch bypasses that enforcement entirely: it invokes the external unzip binary with no symlink-safety flags and no pre- or post-extraction containment check, and extractAllTo returns immediately on success so the ZipExtractor is never constructed. Info-ZIP recreates symbolic links verbatim from archive entries, so a link whose target points outside the destination is written as-is, and a subsequent entry (or a later extraction into the same directory) whose name resolves through that link escapes the extraction root.
An attacker who controls a ZIP archive that an application extracts through @appium/support with useSystemUnzip: true on a non-Windows host that has the Info-ZIP unzip binary available can create a symbolic link outside the extraction directory and write attacker-controlled content through it to any path writable by the Appium process.
Exploitation requires the non-default useSystemUnzip: true option, and achieving the out-of-root write of file content (rather than only the escaping symlink) requires two extractions into the same destination directory with Info-ZIP, which raises attack complexity but is a realistic multi-stage installation pattern.
Use-cases with useSystemUnzip disabled (the default configuration) are not affected.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."