SecurityContext

CVE-2026-54545: @wakaru/cli - Path Traversal & Remote Code Execution

  • Cve: CVE-2026-54545
  • Name: @wakaru/cli - Path Traversal & Remote Code Execution
  • 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.
  • Impact: Attackers can write files outside the intended directory, potentially leading to code execution and system compromise.
  • Remediation: Update to version 1.4.0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write, remote_code_execution
  • Requirement type: user_interaction
  • Requirements: User must run wakaru --unpack on a malicious bundle
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.1
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
  • Epss score: 0.00197
  • Epss percentile: 0.09333
  • Assignee: [email protected]
  • Published at: 2026-07-28T16:18:59Z
  • Age in days: 119
  • Modified at: 2026-10-24T13:10:00Z
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-54545
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/pionxzh/wakaru/commit/1d30383b20a6f768786b8ada2f1b0945de13c316
https://github.com/pionxzh/wakaru/releases/tag/v1.4.0
https://github.com/pionxzh/wakaru/security/advisories/GHSA-7wpj-vvmv-pgm8

Projects

RepositoryLink kindsIndexedUrl
pionxzh/wakarucommit, fix, package, releases, security_advisoryyes/v1/repositories/pionxzh/wakaru

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts