ApostropheCMS has Arbitrary File Write (Zip Slip / Path Traversal) in Import-Export Gzip Extraction
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
ApostropheCMS is an open-source content management framework. Prior to version 3.5.3 of `@apostrophecms/import-export`, The `extract()` function in `gzip.js` constructs file-write paths using `fs.createWriteStream(path.join(exportPath, header.name))`. `path.join()` does not resolve or sanitise traversal segments such as `../`. It concatenates them as-is, meaning a tar entry named `../../evil.js` resolves to a path outside the intended extraction directory. No canonical-path check is performed before the write stream is opened. This is a textbook Zip Slip vulnerability. Any user who has been granted the Global Content Modify permission — a role routinely assigned to content editors and site managers — can upload a crafted `.tar.gz` file through the standard CMS import UI and write attacker-controlled content to any path the Node.js process can reach on the host filesystem. Version 3.5.3 of `@apostrophecms/import-export` fixes the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| apostrophecms | import-export | before 3.5.3 | 3.5.3 | Patch available | CNA |
| — | @apostrophecms/import-export (npm) | before 3.5.3 | 3.5.3 | Patch available | GHSA-mwxc-m426-3f78 |
- import-export Vendorapostrophecms Affected before 3.5.3 Fixed in 3.5.3 Patch available CNA
- @apostrophecms/import-export (npm) Vendor— Affected before 3.5.3 Fixed in 3.5.3 Patch available GHSA-mwxc-m426-3f78
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apostrophecms:import-export:*:*:*:*:*:node.js:*:* | before 3.5.3 | Vulnerable | apostrophecms |
- cpe:2.3:a:apostrophecms:import-export:*:*:*:*:*:node.js:*:* Versions before 3.5.3 Vulnerable ·apostrophecms
Remediation
- Fix · CNA import-export (apostrophecms) Fixed in 3.5.3
- Fix · GHSA-mwxc-m426-3f78 @apostrophecms/import-export (npm) Fixed in 3.5.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32731
- 2026-10-03 Alias added: GHSA-mwxc-m426-3f78
References
Sources
- CVE-2026-32731 · CVE Program
- CVE-2026-32731 · NVD
- FIRST EPSS
- GHSA-mwxc-m426-3f78 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences