Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor credentials
-
DeliveryCraft malicious `.tar.gz` with `../` traversal in `aposAttachments.json` fields
-
ExploitUpload archive via CMS import endpoint
-
ExecutionModule reconstructs path escaping extraction directory
-
PersistHost file with allowed extension copied to public uploads directory
-
ImpactSensitive file read unauthenticated via uploads URL
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account with at least the contributor role on the target ApostropheCMS instance - unauthenticated access is not sufficient. The |
| Impact | The NVD CVSS vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N scores 6.5 and is well-calibrated for this vulnerability: network-accessible exploitation by a contributor-level authenticated user with no additional complexity. The high confidentiality impact reflects that targeted files are not only read but actively published to a public, unauthenticated URL - a meaningful escalation beyond simple server-side disclosure. A key limiting factor is the allow-list extension constraint: only files whose names end in permitted extensions (e.g., |
| Exploit ScenarioDerived | An attacker with a contributor account crafts a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Path traversal in ApostropheCMS's import-export module (versions prior to 3.6.2) allows an authenticated contributor to exfiltrate host files and expose them publicly via the CMS uploads URL. By importing a crafted .tar.gz archive with ../ sequences embedded in the _id, name, or extension fields of aposAttachments.json, an attacker causes the module to reconstruct a source path that escapes the extraction directory, reading any host file whose name ends with an allow-listed extension and copying it to a publicly accessible, unauthenticated uploads endpoint. No public exploit is identified at time of analysis; vendor-released patch is available in version 3.6.2.
RemediationAI
Upgrade the @apostrophecms/import-export package to version 3.6.2 or later, which resolves the traversal by enforcing string-type validation on _id, name, and extension fields and adding a path.resolve().startsWith() boundary check before any attachment source path is accessed. The fix is documented in the security advisory GHSA-79qf-vqgc-7xx3 and the patch commit at https://github.com/apostrophecms/apostrophe/commit/87cccf44a23d09420875ca8a3765eb3db843836a. If immediate upgrade is not feasible, restrict import functionality to trusted administrator accounts only by removing contributor-role access to the import feature - this eliminates the attack surface without code changes but may disrupt legitimate content import workflows. Alternatively, disabling the @apostrophecms/import-export module entirely until patching is possible is a complete compensating control with the trade-off of losing all import-export capability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in packages/import-export/lib/formats/gzip.js within the @apostrophecms/import-export package, identified via CPE cpe:2.3:a:apostrophecms:apostrophe:*:*:*:*:*:*:*:*. Imported archives are parsed with EJSON, and the module reconstructs each attachment's on-disk source path by concatenating attachment._id, attachment.name, and attachment.extension using path.join(). A pre-existing zip-slip guard validates tar entry names at extraction time but does not cover this second, post-extraction path construction step. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) is the root cause: without a path.resolve() boundary check, a ../ sequence in any of the three EJSON-controlled fields redirects the reconstructed path outside the attachmentFilesPath directory. The fix in 3.6.2 adds both a string-type assertion (preventing EJSON object revival from smuggling MongoDB query operators into the path) and a path.resolve().startsWith(base) guard before any file is read.
Know when Apostrophecms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Import endpoint is network-accessible requiring only contributor credentials (PR:L); confidentiality is high as files are published publicly; no integrity or availability impact applies.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
ApostropheCMS is an open-source Node.js content management system. Prior to 3.6.2, the import-export module in packages/import-export/lib/formats/gzip.js constructs an attachment source path from the attacker-controlled _id, name, and extension fields in aposAttachments.json without ensuring that the resolved path remains under the extracted attachments directory, allowing an authenticated contributor to import a crafted archive, read a host file with an allowed extension, and publish the copied file at an unauthenticated uploads URL. This issue is fixed in version 3.6.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Apostrophecms
View allIntegrity bypass in ApostropheCMS page management allows authenticated low-privileged editors to move pages into restric
Stored cross-site scripting in ApostropheCMS prior to 2.17.6 enables execution of arbitrary JavaScript in victim browser
'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). Rated medium severity (CVSS 6.1), th
`sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). Rated medium severity (CVSS 6.1
Apostrophe CMS versions prior to 3.3.1 did not invalidate existing login sessions when disabling a user account or chang
Stored XSS in sanitize-html versions 1.9.0 through 2.17.6 allows authenticated low-privileged users to inject executable
Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and
Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHos
Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which co
Prototype pollution in ApostropheCMS versions up to and including 4.30.0 allows an authenticated editor to poison Object
Stored cross-site scripting in the @apostrophecms/seo plugin (versions ≤1.4.2) allows any user holding the default edito
Stored cross-site scripting in ApostropheCMS SEO fields permits an authenticated attacker to inject arbitrary JavaScript
EUVD-2026-60441
GHSA-79qf-vqgc-7xx3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB