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

High 7.1 Published Updated

Attackers can write files outside the output directory via crafted filenames in malicious bundles, potentially achieving code execution when users unpack them.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-54545?

CVE-2026-54545 is a high-severity path traversal vulnerability in pionxzh wakaru, published on 28 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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

Weakness: CWE-22

Which versions are affected by CVE-2026-54545?

2 open source packages ship an affected version, including @wakaru/cli.

PackageAffectedFixed in
@wakaru/cli npmFrom 1.0.01.4.0
@wakaru/cli npmFrom 1.0.01.4.0

How do I fix CVE-2026-54545?

Upgrade @wakaru/cli to 1.4.0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-54545 being exploited?

There is no known exploitation of CVE-2026-54545 in the wild and no public exploit code.

Sources

Also known as GHSA-7wpj-vvmv-pgm8.

Is CVE-2026-54545 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free