PoC Monitor
← All CVEs
CVE-2026-32731published 18 Mar 2026 22:03 UTCData: JSON · API

ApostropheCMS Import-Export

ApostropheCMS has Arbitrary File Write (Zip Slip / Path Traversal) in Import-Export Gzip Extraction

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.

First public PoC 4 hafter publication · 19 Mar 2026
Public PoCs11 on GitHub
CVSS10.0critical · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

apostrophecms import-export
  • < 3.5.3

Fixed in 3.5.3

Mitigation

Upgrade import-export to 3.5.3 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published18 Mar 2026 · t = 0First public PoC19 Mar 2026 · t+4h

First public PoC 4 h after publication; not in CISA KEV. First PoC: 0xEr3n/CVE-2026-32731 (created 19 Mar 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
0xEr3n/CVE-2026-32731 19 Mar 2026 +4 h 0 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.