# CVE-2022-0401: Path Traversal in yuda-lyu/w-zip

- Severity: Critical 9.4 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.68%, higher than 77% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-01T12:28:46.000Z
- Modified: 2026-06-17T04:20:32.190Z
- Also known as: GHSA-fr6q-jv7j-35g3
- Weaknesses: CWE-22
- Assigned by: @huntrdev

## Description

Path Traversal in NPM w-zip prior to 1.0.12.

(As written by CVE List.)

## Affected

- yuda-lyu yuda-lyu/w-zip: from unspecified before 1.0.12
- w-zip (npm): before 1.0.12
- w-zip_project w-zip: before 1.0.12

## Every score

- @huntrdev: CVSS:3.0 9.4 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/d93259aa-ad03-43d6-8846-a00b9f58876d> (exploit, third-party-advisory, web)
- <https://github.com/yuda-lyu/w-zip/commit/d7039d034e02fa358e6656565157cedf5fa83288> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0401> (advisory)
- <https://github.com/yuda-lyu/w-zip> (package)

## Sources

- CVE List: [CVE-2022-0401](https://www.cve.org/CVERecord?id=CVE-2022-0401), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-fr6q-jv7j-35g3](https://github.com/advisories/GHSA-fr6q-jv7j-35g3), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-0401](https://nvd.nist.gov/vuln/detail/CVE-2022-0401), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0401 · Whole record: https://cve.day/CVE-2022-0401.json · Rebuilt by cve.day 2026-11-25T22:58:09.456Z
