@apostrophecms/import-export: ApostropheCMS: Archive duplicate continuation lets contributors overwrite published content
What fixes it
- 3.7.1@apostrophecms/import-export, npmGitHub
npm install @apostrophecms/import-export@3.7.1
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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. Please refer to that existing private attachment.
Archive duplicate continuation permits unauthorized published-content replacement
The overrideDuplicates() continuation still accepts client-supplied replacement choices, rather than binding them to a server-maintained, user-owned duplicate analysis. The replacement and write helpers do not establish a single canonical resource identity and authorization context before the update. This leaves the reported gap between draft editing authority and the published target selected for replacement unresolved at source level.
The original report describes a contributor crossing the publication boundary through duplicate replacement on an import-enabled localized type. We have not repeated that end-to-end sequence on 3.7.0.
Suggested remediation: bind continuation state to the initiating user, archive, job, permitted source/target mapping, locale and mode; reject inconsistent identity metadata; derive permissions from the actual loaded target and require publication authority for published targets.
Source: overrideDuplicates(), replaceDocId(), and insertOrUpdateDoc() in the importer.
Coordination
Vivek R / Winfunc Original reporting team: Mufeed VH / Winfunc
Text from GitHub Advisory Database
Affected versions 4
- @apostrophecms/import-export, npm< 3.7.1GitHub
- apostropheaffected: < 4.34.0CVE List
- mport-exportaffected: < 3.7.1CVE List
- @apostrophecms/import-export, npmfrom first release, fixed in 3.7.1OSV
References 6
- github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498Fixvia CVE List
- github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5eaFixvia CVE List
- github.com/apostrophecms/apostrophe/releases/tag/@apostrophecms/import-export@3.7.1Fixvia CVE List
- github.com/apostrophecms/apostrophe/security/advisories/GHSA-jf5h-36mg-rp6xAdvisoryvia CVE List
- github.com/advisories/GHSA-jf5h-36mg-rp6xAdvisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-112956Referencevia GitHub