CVE-2026-54545
HIGH@wakaru/cli arbitrary file write during bundle unpack
Title source: cnaDescription
wakaru is a JavaScript decompiler and unminifier toolkit. From 1.0.0 until 1.4.0, @wakaru/cli sanitizes bundle-controlled module filenames only once before writing extracted modules, so a crafted filename containing overlapping traversal sequences such as ....// collapses to ../ after sanitization and lets the final output path escape the selected output directory, allowing an attacker who can cause a user to run wakaru --unpack on a malicious bundle to write files outside that directory and, depending on the target path and environment, potentially achieve code execution. This issue is fixed in @wakaru/cli 1.4.0.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/pionxzh/wakaru/security/advisories/GHSA-7wpj-vvmv-pgm8
X_Refsource_Misc x_refsource_misc
https://github.com/pionxzh/wakaru/commit/1d30383b20a6f768786b8ada2f1b0945de13c316
X_Refsource_Misc x_refsource_misc
https://github.com/pionxzh/wakaru/releases/tag/v1.4.0
Scores
CVSS v3
7.1
EPSS
0.0015
EPSS Percentile
4.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (2)
pionxzh/wakaru
>= 1.0.0, < 1.4.0
wakaru/cli
1.0.0 - 1.4.0npm
Published
Jul 28, 2026
Tracked Since
Jul 28, 2026