{"id":"CVE-2026-54545","published":"2026-07-28T14:43:45Z","modified":"2026-07-28T16:09:23Z","title":"@wakaru/cli arbitrary file write during bundle unpack","vendor":"pionxzh","product":"wakaru","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00197,"percentile":0.09567,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/pionxzh/wakaru/security/advisories/GHSA-7wpj-vvmv-pgm8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pionxzh/wakaru/commit/1d30383b20a6f768786b8ada2f1b0945de13c316","tags":["x_refsource_MISC"]},{"url":"https://github.com/pionxzh/wakaru/releases/tag/v1.4.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":1.91},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"pionxzh","affectedVersions":[{"vendor":"pionxzh","product":"wakaru","versions":[">= 1.0.0, < 1.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-28T16:09:11.183514Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@wakaru/cli","vulnerableRanges":[">=1.0.0, <1.4.0"],"patched":["1.4.0"],"from":["GHSA-7wpj-vvmv-pgm8"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-49869","exploited":false,"provenance":"source"}}