---
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'
---

## Overview

## Review scope and evidence limits

Package: @apostrophecms/import-export, version 3.7.0.

Release tag reviewed: @apostrophecms/import-export@3.7.0, commit 9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce (September 30, 2026).

Current main reviewed: 5ce3732be0ebdebb4db0f8ef160c81e8671157e6.

The 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.

## Import archive extraction lacks resource quotas and failure cleanup

The 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.

However, 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.

Suggested 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.

Source references:
- [Gzip extractor](https://github.com/apostrophecms/apostrophe/blob/5ce3732be0ebdebb4db0f8ef160c81e8671157e6/packages/import-export/lib/formats/gzip.js)
- [Import lifecycle and cleanup](https://github.com/apostrophecms/apostrophe/blob/5ce3732be0ebdebb4db0f8ef160c81e8671157e6/packages/import-export/lib/methods/import.js)
- [Related authentication fix](https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-86wm-68pq-5jwq)

## Coordination

Vivek R / Winfunc
Original reporting team: Mufeed VH / Winfunc

## Affected packages

- `@apostrophecms/import-export < 3.7.1`

## Remediation

Upgrade to a patched release:

- `@apostrophecms/import-export 3.7.1`
