## ApostropheCMS import-export tar guard misses './..' because it is a literal '../' substring test

- 種別: advisory
- 重大度: medium
- 関連技術: nodejs
- CVE: CVE-2026-113664
- 公開日時: 2026-10-20T18:23:42.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-97wv-p4xx-c7mg)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-97wv-p4xx-c7mg

影響: npm:@apostrophecms/import-export < 3.7.0 → 3.7.0
Summary The tar-extraction guard added to @apostrophecms/import-export for GHSA-mwxc-m426-3f78 is a literal substring test for ../, and ./.. does not contain that substring. An entry named ./.. therefore passes the guard, path.join normalizes it to the parent of the export directory, and the resulting fs.WriteStream opens a directory and emits EISDIR with no error listener attached, which terminates the Node process. Confirmed on default-branch HEAD 1bd5d0a7a6fe880836fa75adad6964f1c577d640, pac…