CVE Catalog

CVE-2026-54545

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

5th percentile - higher than 5% of all known CVEs

Summary

A vulnerability in the wakaru JavaScript decompiler allows writing files outside the target directory. Filenames with traversal sequences (e.g., ....//) are sanitized only once, allowing escape from the output directory.

Risk Assessment

An attacker can overwrite arbitrary files on the system, potentially leading to code execution.

Recommendation

Update @wakaru/cli to version 1.4.0 or later.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS