{"answers":{"affected":"2 open source packages ship an affected version, including extract-zip. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56876 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-56876 is a high-severity path traversal vulnerability in max-mapper extract-zip, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-56876 and fix it if it is affected.\n\nWhat it is: CVE-2026-56876 is a high-severity path traversal vulnerability in max-mapper extract-zip, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56876 exists.\n\nAffected packages and fixed versions:\n- extract-zip (npm): affected all versions up to 2.0.1; no fix listed\n- extract-zip (npm): affected all versions up to 2.0.1; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-56876/ (Markdown: https://insights.sbomify.com/CVE-2026-56876/index.md)","id":"CVE-2026-56876","markdown":"https://insights.sbomify.com/CVE-2026-56876/index.md","name":"CVE-2026-56876","record":{"aliases":["DEBIAN-CVE-2026-56876","GHSA-jmr9-qjv8-65gv","MINI-2m3p-wcr6-c54v","MINI-2v7g-v49f-f9gw","MINI-4xvw-qjq7-wvf8","MINI-7hw7-93rw-v4w3","MINI-7r6j-x85p-wp82","MINI-8cq3-hcmp-c33p","MINI-fc63-2hcr-rcc5","MINI-fcj9-64fq-4vcr","MINI-ggfh-g5j3-jfpc","MINI-j22v-523w-p3g7","MINI-jch3-g2rm-fc98","MINI-m85h-rx2w-3hj4","MINI-p6h7-4xx5-8x86","MINI-q6ww-hh5g-76mx","MINI-r392-3vwq-84qc","ROOT-APP-NPM-CVE-2026-56876","UBUNTU-CVE-2026-56876"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js zip extraction library","requires_auth":"none","summary":"Attackers can exploit unvalidated symlink targets in extract-zip to read or write arbitrary files outside the intended extraction directory.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisa-cg","cpe":[{"product":"extract-zip","vendor":"max-mapper"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"extract-zip does not validate symlink targets when extracting zip archives. When processing a malicious zip file containing a symlink with a relative path like '../../../../etc/passwd', extract-zip will extract the symlink without validation, allowing it to point outside the extraction directory. Depending on how extract-zip is used, an attacker could read or write to arbitrary files.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-07-09","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-07-09T13:33:13Z","kind":"github_poc","ref":"https://github.com/ziad626/CVE-2026-56876-POC","stars":1,"title":"Offical PoC for this cve"}],"tier":"weaponised"},"has_fix":true,"headline":"extract-zip unvalidated symlink path traversal","id":"CVE-2026-56876","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Business logic in SCORM Lab Launch Integration","id":"CVE-2026-56877"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["2.0.1"],"package":"extract-zip","purl":null,"source":"GHSA-jmr9-qjv8-65gv"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["2.0.1"],"package":"extract-zip","purl":"pkg:npm/extract-zip","source":"GHSA-jmr9-qjv8-65gv"}],"prev":{"headline":"reserved but not needed","id":"CVE-2026-56875"},"products":["extract-zip"],"published":"2026-06-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-30","vendors":["max-mapper"]},"summary":"Attackers can exploit unvalidated symlink targets in extract-zip to read or write arbitrary files outside the intended extraction directory.","url":"https://insights.sbomify.com/CVE-2026-56876/"}