medium6.5
CVE-2026-63667
ApostropheCMS: Arbitrary file read via import-export attachment-name path traversal
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @apostrophecms/import-export | <= 3.6.1 | 3.6.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-79qf-vqgc-7xx3
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-79qf-vqgc-7xx3
- https://nvd.nist.gov/vuln/detail/CVE-2026-63667
- https://github.com/apostrophecms/apostrophe/commit/87cccf44a23d09420875ca8a3765eb3db843836a