SCA: security update for @apostrophecms/import-export (GHSA-mwxc-m426-3f78)

critical Tenable Self-Hosted Container Security Plugin ID 438997

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-32731)

Solution

Update the @apostrophecms/import-export library and its related packages to version 3.5.3 or later.

See Also

https://github.com/advisories/GHSA-mwxc-m426-3f78

Plugin Details

Severity: Critical

ID: 438997

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 3/19/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.7

Percentile: 99.07

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-32731

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/18/2026

Vulnerability Publication Date: 3/18/2026

Reference Information

CVE: CVE-2026-32731

cwe: CWE-22