{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54545","id":"CVE-2026-54545","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 cau","descriptionLong":"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.","published":"2026-07-28T14:43:45.808Z","updated":"2026-10-28T02:30:54.023784177Z","reserved":"2026-06-15T19:04:14.455Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["pionxzh wakaru"],"affectedProducts":[{"vendor":"pionxzh","product":"wakaru","defaultStatus":null,"versions":[{"version":">= 1.0.0, < 1.4.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@wakaru/cli","purl":"pkg:npm/%40wakaru/cli","ranges":[">=1.0.0 <1.4.0"],"fixed":["1.4.0"],"advisory":"GHSA-7wpj-vvmv-pgm8"}],"cwes":["CWE-22"],"aliases":["GHSA-7wpj-vvmv-pgm8"],"references":[{"url":"https://github.com/pionxzh/wakaru/security/advisories/GHSA-7wpj-vvmv-pgm8","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/pionxzh/wakaru/commit/1d30383b20a6f768786b8ada2f1b0945de13c316","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/pionxzh/wakaru/releases/tag/v1.4.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54545.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54545","tags":["advisory"]},{"url":"https://github.com/pionxzh/wakaru","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00197,"epssPercentile":0.09456,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54545","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54545","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54545","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7wpj-vvmv-pgm8","ok":true,"note":"GHSA-7wpj-vvmv-pgm8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54545","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}