Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @wakaru/cli
  4. ›
  5. CVE-2026-54545

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

July 28, 2026

@wakaru/cli is vulnerable to arbitrary file write when unpacking a crafted JavaScript bundle with --unpack.

Bundle-controlled module filenames were sanitized before writing extracted modules to the output directory. A crafted filename containing overlapping path traversal characters, such as ....//, could be transformed into ../ after sanitization. This allowed the final output path to escape the intended output directory.

An attacker who can cause a user to run wakaru --unpack on a malicious bundle may be able to write files outside the selected output directory. Depending on the target path and user environment, this may lead to code execution.

Affected versions: >=1.0.0 <1.4.0.

References

  • github.com/advisories/GHSA-7wpj-vvmv-pgm8
  • github.com/pionxzh/wakaru/commit/1d30383b20a6f768786b8ada2f1b0945de13c316
  • github.com/pionxzh/wakaru/releases/tag/v1.4.0
  • github.com/pionxzh/wakaru/security/advisories/GHSA-7wpj-vvmv-pgm8
  • nvd.nist.gov/vuln/detail/CVE-2026-54545

Code Behaviors & Features

Detect and mitigate CVE-2026-54545 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 1.4.0

Fixed versions

  • 1.4.0

Solution

Upgrade to version 1.4.0 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/@wakaru/cli/CVE-2026-54545.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 29 Jul 2026 00:19:11 +0000.