{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.0.0"
              },
              {
                "fixed": "1.4.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "398852d84fbcbbf75759128d44619d8bc09e2424"
            },
            {
              "fixed": "1d30383b20a6f768786b8ada2f1b0945de13c316"
            },
            {
              "fixed": "62fee836402487a7581f571dbea41e7cd50532eb"
            }
          ],
          "repo": "https://github.com/pionxzh/wakaru",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7wpj-vvmv-pgm8"
  ],
  "database_specific": {
    "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"
  },
  "details": "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.",
  "id": "CVE-2026-54545",
  "modified": "2026-08-12T03:51:28.981641703Z",
  "published": "2026-07-28T14:43:45.808Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/pionxzh/wakaru/releases/tag/v1.4.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54545.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pionxzh/wakaru/security/advisories/GHSA-7wpj-vvmv-pgm8"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54545"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pionxzh/wakaru/commit/1d30383b20a6f768786b8ada2f1b0945de13c316"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "@wakaru/cli arbitrary file write during bundle unpack"
}