{"id":"CVE-2026-54545","revision":"d42bb5733853492fbec11b48fc871778","records":[{"revision":"d42bb5733853492fbec11b48fc871778","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-54545","aliases":[],"title":"@wakaru/cli arbitrary file write during bundle unpack","description":"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.","state":0,"publishedAt":"2026-07-28T14:43:45.808+00:00","modifiedAt":"2026-07-28T16:09:23.417+00:00","affected":[{"ecosystem":"Vendor product","name":"wakaru","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"pionxzh\",\n                    \"product\": \"wakaru\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.0.0, < 1.4.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":7.1,"severity":"HIGH"}],"references":["https://github.com/pionxzh/wakaru/security/advisories/GHSA-7wpj-vvmv-pgm8","https://github.com/pionxzh/wakaru/commit/1d30383b20a6f768786b8ada2f1b0945de13c316","https://github.com/pionxzh/wakaru/releases/tag/v1.4.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-54545","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-54545","identifiers":["CVE-2026-54545"]},"retained":false,"historicalAffected":[]}],"coverage":[]}