GHSA-9g7p-m758-rp72: Medium severity npm/@apostrophecms/import-export vulnerability

Published Oct 21, 2026
·
Updated

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 - Import lifecycle and cleanup - Related authentication fix

Coordination

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

Affected Software

1 affected componentFixes available
npm/@apostrophecms/import-export<3.7.1
3.7.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@apostrophecms/import-export to a version that resolves this vulnerability.

    Fixed in 3.7.1
  2. Configuration

    Add configurable streaming quotas for per-entry and aggregate decompressed bytes, cap the number of archive entries, and restrict allowed entry types.

    Gzip extractor Streaming extraction quotas = Configurable limits based on actual decompressed bytes, entry count, and allowed entry types
  3. Compensating control

    Bound the number of concurrent imports to limit aggregate storage consumption.

  4. Compensating control

    Retain continuation artifacts only under explicit ownership, expiry, and total-storage limits.

  5. Operational

    Clean local and uploadfs extraction/staging artifacts on every failure, including failures during extraction or parsing, using unconditional import-lifecycle cleanup.

Event History

Oct 21, 2026
Advisory Published
via GitHub·04:57 PM
Data Sourced
via GitHub·04:57 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What level of access does an attacker need?

The affected import routes require a logged-in user. The supplied vector indicates low privileges are required, with network access and no user interaction.

2

What is the expected security impact?

The reported impact is availability only: confidentiality and integrity impacts are listed as none, while availability impact is high. The review identifies missing resource quotas during gzip archive extraction.

3

Has the issue been confirmed in a deployed current release?

No. The follow-up was a static review of version 3.7.0 and the reviewed main branch; it did not repeat end-to-end reproductions or test a deployed site. Maintainer validation is still required for current exploitability and impact.

4

Are all previously reported extraction-handling problems still applicable?

No. The gzip extractor now handles destination write errors and waits for write completion, so those aspects should not be treated as unchanged. The static review found that the reported security checks remain absent in public source.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203