CVE-2026-54545
@wakaru/cli arbitrary file write during bundle unpack
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.
INFO
Published Date :
July 28, 2026, 4:18 p.m.
Last Modified :
Oct. 24, 2026, 1:10 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | MITRE-CVE |
Solution
- Update @wakaru/cli to version 1.4.0 or later.
- Avoid unpacking untrusted JavaScript bundles.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-54545.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-54545 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-54545
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-54545 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-54545 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 24, 2026
Action Type Old Value New Value Added Translation Title: wakaru de pionxzh, Description: wakaru es un conjunto de herramientas de descompilación y desminificación de JavaScript. Desde la versión 1.0.0 hasta la 1.4.0, @wakaru/cli sanea los nombres de archivo de módulos controlados por el paquete solo una vez antes de escribir los módulos extraídos, de modo que un nombre de archivo manipulado que contiene secuencias de recorrido superpuestas como .... / / se colapsa a .. / después del saneamiento y permite que la ruta de salida final escape del directorio de salida seleccionado, permitiendo a un atacante que puede hacer que un usuario ejecute wakaru --unpack en un paquete malicioso escribir archivos fuera de ese directorio y, dependiendo de la ruta de destino y el entorno, potencialmente lograr la ejecución de código. Este problema está solucionado en @wakaru/cli 1.4.0. -
New CVE Received by [email protected]
Jul. 28, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'pionxzh', 'product': 'wakaru', 'versions': [{'status': 'affected', 'version': '>= 1.0.0, < 1.4.0'}]}] Added 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. Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H Added CWE CWE-22 Added Reference https://github.com/pionxzh/wakaru/commit/1d30383b20a6f768786b8ada2f1b0945de13c316 Added Reference https://github.com/pionxzh/wakaru/releases/tag/v1.4.0 Added Reference https://github.com/pionxzh/wakaru/security/advisories/GHSA-7wpj-vvmv-pgm8 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 28, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-54545', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-28T16:09:11.183514Z'}