# CVE-2026-113664: ApostropheCMS import-export tar path traversal and crash

Source: https://junglewise.ai/threats/cve-2026-113664-apostrophecms-import-export-tar-guard-misses-because-it-is-a  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-20. Updated: 2026-10-20  
License: CC BY 4.0 with a link back

CVE-2026-113664 · Severity: medium · CVSS 4 · Published 2026-10-20

ApostropheCMS is a content management system that includes an import-export module for uploading and processing archives. An authenticated user can upload a specially crafted archive that bypasses path validation and crashes the Node.js process, causing a denial of service that affects the application server and all workers handling that upload.

Technologies: [ApostropheCMS Import-Export](https://junglewise.ai/threats/technologies/import-export), [@apostrophecms/import-export (npm)](https://junglewise.ai/threats/technologies/apostrophecms-import-export). Vendors: [ApostropheCMS](https://junglewise.ai/threats/vendors/apostrophecms), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-113664 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-113664 being exploited in the wild.

**How severe is CVE-2026-113664?** Medium severity, with a CVSS score of 4, published 20 October 2026.

**Which products and versions are affected?** ApostropheCMS Import-Export 3.6.2 and prior; @apostrophecms/import-export (npm) < 3.7.0, SEMVER:introduced=0,fixed=3.7.0.

**Is there a fix for CVE-2026-113664?** Yes. @apostrophecms/import-export (npm): upgrade to 3.7.0 or later. Until then: Restrict upload permissions to trusted administrators only, or disable the import-export feature if it is not in active use, until a patch is applied. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-113664 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-113664?** Check whether you run ApostropheCMS Import-Export or @apostrophecms/import-export (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @apostrophecms/import-export (npm): upgrade to 3.7.0 or later

  ```sh
  npm install @apostrophecms/import-export@3.7.0
  ```


Restrict upload permissions to trusted administrators only, or disable the import-export feature if it is not in active use, until a patch is applied.

## Technical details

The tar-extraction guard in `packages/import-export/lib/formats/gzip.js` uses a literal substring test for `../` to detect path traversal, which misses entries like `./..` that normalize to parent directories via `path.join()`. Additionally, the `fs.WriteStream` lacks an error handler, so attempting to write to an existing directory emits an unhandled `'error'` event that terminates the Node process. An authenticated user with import privileges can trigger both conditions by uploading a malicious gzip archive.

## Affected products

- ApostropheCMS import-export 3.6.2 and prior

## Identifiers

- CVE-2026-113664
- GHSA-97wv-p4xx-c7mg

## Timeline

- 2026-10-20: disclosed

## Related threats

- [ApostropheCMS unauthenticated file upload in import routes](https://junglewise.ai/threats/cve-2026-113711-apostrophecms-is-an-open-source-node-js-content-management)
- [ApostropheCMS import-export NoSQL injection in update-key](https://junglewise.ai/threats/cve-2026-113662-apostrophecms-import-export-nosql-injection-via-update-key-value)
- [ApostropheCMS import-export privilege escalation in published content](https://junglewise.ai/threats/cve-2026-113649-apostrophecms-is-an-open-source-node-js-content-management)
- [ApostropheCMS: Missing Authentication in `cleanExport` Route](https://junglewise.ai/threats/cve-2026-113648-apostrophecms-is-an-open-source-node-js-content-management)
- [ApostropheCMS import-export authorization bypass in duplicate replacement](https://junglewise.ai/threats/cve-2026-112956-apostrophecms-is-an-open-source-node-js-content-management)
