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

CVE-2026-113649: ApostropheCMS: Import API bypasses publication roles for protected content

October 21, 2026

Review scope and evidence limits

Package: @apostrophecms/import-export, version 3.7.0.

Release tag reviewed: @apostrophecms/import-export@3.7.0, commit 9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce (September 30, 2026).

Current main reviewed: 5ce3732be0ebdebb4db0f8ef160c81e8671157e6.

The importer, gzip extractor, import permission gate, and core permission implementation have no differences between that release tag and the reviewed main. This follow-up is a static remediation review. We have not repeated the original end-to-end reproductions against the latest release or tested a deployed site. Current exploitability and impact therefore still require maintainer validation; the observations below establish that the reported security checks remain absent in public source. The original emailed PDF contains the original reproduction material.

Import API bypasses publication roles for protected content

The import gate in canImportOrExport() checks the type’s import configuration and view permission. The write helpers then call document-manager insert/update directly, including operations on published variants. We did not find the normal publish permission check or beforePublish transition in these helpers. Core permissions intentionally distinguish editRole and publishRole, and the ordinary publication lifecycle enforces that distinction.

The reported security boundary is a content type that an editor may edit but whose publication is reserved for a stronger role. Direct public-state changes through import must enforce the same publication authority. The original report describes unauthorized creation, replacement, or removal of published content under that configuration.

Suggested remediation: centralize authorization for import writes; require publish permission for every non-autopublished published variant, authorize each concrete target, and preflight the complete import before persistent changes. Preserve authorized draft imports and the intended behavior of autopublished types.

References

  • github.com/advisories/GHSA-5m22-7pfq-vp65
  • github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498
  • github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea
  • github.com/apostrophecms/apostrophe/releases/tag/%40apostrophecms/import-export%403.7.1
  • github.com/apostrophecms/apostrophe/releases/tag/@apostrophecms/import-export@3.7.1
  • github.com/apostrophecms/apostrophe/releases/tag/apostrophe@4.34.0
  • github.com/apostrophecms/apostrophe/security/advisories/GHSA-5m22-7pfq-vp65
  • nvd.nist.gov/vuln/detail/CVE-2026-113649

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.7.1

Fixed versions

  • 3.7.1

Solution

Upgrade to version 3.7.1 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 23 Oct 2026 00:15:56 +0000.