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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54545.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.0.0"
},
{
"fixed": "1.4.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "1d30383b20a6f768786b8ada2f1b0945de13c316"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.4.0",
"range": [
{
"fixed": "62fee836402487a7581f571dbea41e7cd50532eb"
}
],
"source": "REFERENCES_TAG"
}
]
}