Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @apostrophecms/import-export
  4. ›
  5. CVE-2026-63667

CVE-2026-63667: ApostropheCMS: Arbitrary file read via import-export attachment-name path traversal

September 2, 2026

The @apostrophecms/import-export module reconstructs the on-disk source path of every imported attachment from JSON metadata contained in the uploaded archive.

The archive carries an aposAttachments.json file whose name and extension fields are concatenated into a filesystem path with no traversal check. The zip-slip guard that the module applies during tar extraction validates tar entry names only and does not cover this second path, which is built after extraction.

The file at the resulting path is read and copied into the public uploads directory, then served over HTTP without authentication. A ../ sequence in name makes the module read a file outside the extraction directory and publish it at an anonymous URL.

Result: an authenticated contributor reads any file on the host whose name ends in an allowlisted extension (other users’ uploaded documents, text or CSV dumps, PDFs) by importing a crafted archive and fetching the planted attachment anonymously.

References

  • github.com/advisories/GHSA-79qf-vqgc-7xx3
  • github.com/apostrophecms/apostrophe/commit/87cccf44a23d09420875ca8a3765eb3db843836a
  • github.com/apostrophecms/apostrophe/security/advisories/GHSA-79qf-vqgc-7xx3
  • nvd.nist.gov/vuln/detail/CVE-2026-63667

Code Behaviors & Features

Detect and mitigate CVE-2026-63667 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.6.2

Fixed versions

  • 3.6.2

Solution

Upgrade to version 3.6.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/@apostrophecms/import-export/CVE-2026-63667.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:10 +0000.