PT-2026-65513 · Npm · @Wakaru/Cli
CVE-2026-54545
·
Published
2026-07-28
·
Updated
2026-07-28
CVSS v3.1
7.1
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
@wakaru/cli versions 1.0.0 through 1.3.x
Description
An arbitrary file write issue exists when unpacking a crafted JavaScript bundle using the
--unpack command. The software sanitizes bundle-controlled module filenames only once before writing extracted modules. A crafted filename containing overlapping traversal sequences, such as ....//, collapses to ../ after sanitization, allowing the final output path to escape the selected output directory. This can enable an attacker to write files outside the intended directory, which may lead to code execution depending on the target path and environment.Recommendations
Update @wakaru/cli to version 1.4.0.
Avoid running the
--unpack command on untrusted or unknown bundles.Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
@Wakaru/Cli