Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-113664 Overview
CVE-2026-113664 affects the ApostropheCMS @apostrophecms/import-export module, an open-source Node.js content management system component. An authenticated user with import privileges can submit a crafted tar archive whose normalized destination targets a directory while bypassing the literal parent-path substring guard. When the import handler opens that directory as a write stream, Node.js emits an unhandled filesystem error that terminates the process. The vulnerability is classified as a path traversal issue [CWE-22] and is fixed in @apostrophecms/import-export@3.7.0.
Critical Impact
An authenticated importer can crash the Node.js process by submitting a malicious tar entry, causing a denial-of-service condition on the ApostropheCMS site.
Affected Products
- ApostropheCMS @apostrophecms/import-export module prior to 3.7.0
- ApostropheCMS 3.x deployments that enable the import-export module
- Any Node.js host running an unpatched import-export module
Discovery Timeline
- 2026-10-20 - CVE CVE-2026-113664 published to NVD
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-113664
Vulnerability Analysis
The flaw resides in the tar extraction logic of the import-export module. The module validates archive entries using a substring check against the parent path to reject traversal attempts. An attacker constructs a tar entry whose normalized destination resolves to a directory path rather than a file, defeating the literal substring guard without producing an obvious .. sequence.
When the import handler proceeds to write the entry, it calls fs.createWriteStream() against the directory target. Node.js raises an EISDIR error on the stream, and because the error path is unhandled, the exception propagates to the event loop and terminates the Node.js process. The upstream advisory describes this as a static primitive. There is no documented end-to-end exploit chain producing arbitrary file read or write.
Root Cause
The root cause is insufficient path validation [CWE-22] combined with missing error handling on the write stream. The guard relies on string comparison rather than resolved-path containment checks, and the stream error handler is not attached before data flows begin.
Attack Vector
Exploitation requires authenticated access with permission to invoke the import workflow. The attacker uploads a tar archive whose entry name normalizes to a directory the module expects to write into. Opening the write stream against that directory triggers the fatal error.
// Patch references from the apostrophecms/apostrophe repository
// Commit: 9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce
// Commit: f84fd41cbf6c22eb8d0008fc9c25df1f7130b350
// Release: @apostrophecms/import-export@3.7.0
Source: GitHub Security Advisory GHSA-97wv-p4xx-c7mg
Detection Methods for CVE-2026-113664
Indicators of Compromise
- Unexpected Node.js process exits or restarts following an import-export API call.
- EISDIR or unhandled error events logged against fs.createWriteStream in application logs.
- Tar archive uploads submitted by authenticated users containing entries whose normalized paths resolve to directories.
Detection Strategies
- Audit import-export job history for archives submitted shortly before process crashes or container restarts.
- Inspect uploaded tar archives for entry names containing suspicious normalization patterns that resolve to existing directories.
- Correlate authenticated session activity with Node.js process termination events using centralized logging.
Monitoring Recommendations
- Alert on repeated Node.js process exits with non-zero status on hosts running ApostropheCMS.
- Track the version string of the @apostrophecms/import-export module across all deployed instances.
- Monitor HTTP endpoints that accept import payloads for anomalous upload patterns from authenticated accounts.
How to Mitigate CVE-2026-113664
Immediate Actions Required
- Upgrade @apostrophecms/import-export to version 3.7.0 or later.
- Restrict the importer role to a minimal set of trusted administrators until the patch is deployed.
- Rotate credentials for any importer accounts suspected of misuse.
Patch Information
The fix is published in @apostrophecms/import-export@3.7.0. Review the GitHub Release notes and the referenced commits 9500b8b and f84fd41c for the authoritative changes.
Workarounds
- Temporarily disable the import-export module in environments that cannot upgrade immediately.
- Place a reverse proxy rule in front of the import endpoint to block requests from non-administrative sessions.
- Run the Node.js process under a supervisor that captures crashes and preserves the offending request payload for triage.
# Upgrade the vulnerable module to the patched release
npm install @apostrophecms/import-export@3.7.0
# Verify the installed version
npm ls @apostrophecms/import-export
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

