Vulnerability · Published Jul 28, 2026 · Assigned by GitHub_M

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

High 7.1

In plain English

A high-severity path traversal in wakaru from pionxzh. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.2%top 90.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@wakaru/cli1.4.0GHSA-7wpj-vvmv-pgm8

Affected products (as reported)

VendorProductVersions
pionxzh wakaru >= 1.0.0, < 1.4.0

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

References