{"answers":{"affected":"2 open source packages ship an affected version, including @apostrophecms/import-export.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-113664 exists.","fix":"Upgrade @apostrophecms/import-export to 3.7.0 or later.","what":"CVE-2026-113664 is a medium-severity vulnerability in @apostrophecms apostrophe, published on 20 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-113664 and fix it if it is affected.\n\nWhat it is: CVE-2026-113664 is a medium-severity vulnerability in @apostrophecms apostrophe, published on 20 Oct 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-113664 exists.\n\nAffected packages and fixed versions:\n- @apostrophecms/import-export (npm): affected all versions; fixed in 3.7.0\n- @apostrophecms/import-export (npm): affected all versions; fixed in 3.7.0\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-113664/ (Markdown: https://insights.sbomify.com/CVE-2026-113664/index.md)","id":"CVE-2026-113664","markdown":"https://insights.sbomify.com/CVE-2026-113664/index.md","name":"CVE-2026-113664","record":{"aliases":["GHSA-97wv-p4xx-c7mg"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"ApostropheCMS is an open-source Node.js content management system. Prior to 3.7.0 of the import-export module, an authenticated importer can submit a tar entry whose normalized destination targets a directory while bypassing the literal parent-path substring guard. Opening that directory as a write stream emits an unhandled filesystem error that can terminate the Node.js process; the source establishes this static primitive but not an end-to-end exploit or controlled arbitrary file read or write. This issue is fixed in version 3.7.0.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"ApostropheCMS import-export tar guard misses './..' because it is a literal '../' substring test","id":"CVE-2026-113664","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"ApostropheCMS: Missing Authorization on Notification PATCH/DELETE Endpoints","id":"CVE-2026-113665"},"packages":[{"ecosystem":"npm","fixed":["3.7.0"],"introduced":["0"],"last_affected":[],"package":"@apostrophecms/import-export","purl":null,"source":"GHSA-97wv-p4xx-c7mg"},{"ecosystem":"npm","fixed":["3.7.0"],"introduced":["0"],"last_affected":[],"package":"@apostrophecms/import-export","purl":"pkg:npm/%40apostrophecms/import-export","source":"GHSA-97wv-p4xx-c7mg"}],"prev":{"headline":"ApostropheCMS import-export: NoSQL injection via update-key value lets a crafted import match and overwrite an unidentified document","id":"CVE-2026-113662"},"products":["apostrophe","import-export"],"published":"2026-10-20","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-23","vendors":["@apostrophecms","apostrophecms"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-113664/"}