{"id":"CVE-2026-112955","aliases":["GHSA-9g7p-m758-rp72"],"title":"ApostropheCMS: Import archives can exhaust server storage and deny service","summary":"ApostropheCMS: Import archives can exhaust server storage and deny service","severity":"medium","cvss":6.5,"cwe":["CWE-400"],"vendor":"apostrophecms","product":"@apostrophecms/import-export","ecosystem":"npm","affected":["@apostrophecms/import-export < 3.7.1"],"patched":["@apostrophecms/import-export 3.7.1"],"published":"2026-10-21","updated":"2026-10-21","sourceUpdated":"2026-10-21T16:57:38Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-9g7p-m758-rp72","references":[{"url":"https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-9g7p-m758-rp72"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112955"},{"url":"https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498"},{"url":"https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea"},{"url":"https://github.com/apostrophecms/apostrophe/releases/tag/@apostrophecms/import-export@3.7.1"},{"url":"https://github.com/advisories/GHSA-9g7p-m758-rp72"}],"tags":["ghsa","npm","cve.org"],"epss":0.00445,"epssPercentile":0.37632,"ingestedAt":"2026-10-20T16:10:53.291Z","slug":"CVE-2026-112955","body":"## Overview\n\n## Review scope and evidence limits\n\nPackage: @apostrophecms/import-export, version 3.7.0.\n\nRelease tag reviewed: @apostrophecms/import-export@3.7.0, commit 9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce (September 30, 2026).\n\nCurrent main reviewed: 5ce3732be0ebdebb4db0f8ef160c81e8671157e6.\n\nThe importer, gzip extractor, import permission gate, and core permission implementation have no differences between that release tag and the reviewed main. This follow-up is a static remediation review. We have not repeated the original end-to-end reproductions against the latest release or tested a deployed site. Current exploitability and impact therefore still require maintainer validation; the observations below establish that the reported security checks remain absent in public source. The original emailed PDF contains the original reproduction material. Please refer to that existing private attachment.\n\n## Import archive extraction lacks resource quotas and failure cleanup\n\nThe current gzip extractor handles destination write errors and waits for write completion; those parts of the original report should no longer be treated as unchanged. The import routes also now require a logged-in user before big-upload processing, as covered by GHSA-86wm-68pq-5jwq.\n\nHowever, extract() still writes expanded archive entries without per-entry, aggregate decompressed-byte, or entry-count quotas. Archive parsing still precedes document-type authorization. If extraction or parsing fails, import() notifies and rethrows before the later storage.remove() call, with no unconditional cleanup around that lifecycle. The reported residual risk is excessive storage consumption and retained extraction/staging artifacts from authenticated imports. Handling a write error and requiring login do not enforce a storage budget.\n\nSuggested remediation: add configurable streaming quotas based on actual decompressed bytes, cap entries and allowed entry types, bound concurrent imports, and clean local and uploadfs artifacts on every failure. Retain continuation artifacts only under explicit ownership, expiry and total-storage limits.\n\nSource references:\n- [Gzip extractor](https://github.com/apostrophecms/apostrophe/blob/5ce3732be0ebdebb4db0f8ef160c81e8671157e6/packages/import-export/lib/formats/gzip.js)\n- [Import lifecycle and cleanup](https://github.com/apostrophecms/apostrophe/blob/5ce3732be0ebdebb4db0f8ef160c81e8671157e6/packages/import-export/lib/methods/import.js)\n- [Related authentication fix](https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-86wm-68pq-5jwq)\n\n## Coordination\n\nVivek R / Winfunc\nOriginal reporting team: Mufeed VH / Winfunc\n\n## Affected packages\n\n- `@apostrophecms/import-export < 3.7.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `@apostrophecms/import-export 3.7.1`","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}