# CVE-2026-54545: @wakaru/cli arbitrary file write during bundle unpack

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-07-28T14:43:45.808Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-7wpj-vvmv-pgm8
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pionxzh wakaru: >= 1.0.0, < 1.4.0
- @wakaru/cli (npm): from 1.0.0 before 1.4.0

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`

## References

- <https://github.com/pionxzh/wakaru/security/advisories/GHSA-7wpj-vvmv-pgm8> (web)
- <https://github.com/pionxzh/wakaru/commit/1d30383b20a6f768786b8ada2f1b0945de13c316> (web)
- <https://github.com/pionxzh/wakaru/releases/tag/v1.4.0> (web)
- <https://github.com/pionxzh/wakaru> (package)

## Sources

- CVE List: [CVE-2026-54545](https://www.cve.org/CVERecord?id=CVE-2026-54545), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-7wpj-vvmv-pgm8](https://github.com/advisories/GHSA-7wpj-vvmv-pgm8), CC-BY-4.0, modified 2026-07-28
- NVD: [CVE-2026-54545](https://nvd.nist.gov/vuln/detail/CVE-2026-54545), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-54545 · Whole record: https://cve.day/CVE-2026-54545.json · Rebuilt by cve.day 2026-11-25T22:59:30.342Z
