---
id: "CVE-2026-112956"
kind: "vulnerability"
aliases: ["CVE-2026-112956", "GHSA-jf5h-36mg-rp6x"]
title: "ApostropheCMS: Archive duplicate continuation lets contributors overwrite published content"
severity: "medium"
cvss: 6.5
epss: 0.003389999968931079
exploited: false
status: "open"
category: "package"
products: [{"name": "@apostrophecms/import-export", "fixed": ["3.7.1"], "affected": "< 3.7.1", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["apostrophecms", "cms", "cwe-863", "node", "npm", "package", "self-hosted"]
not_affected_if: ["import-disabled", "no-contributor-users", "version-3.7.1-or-later"]
published_at: "2026-10-20T16:17:06+00:00"
first_seen_at: "2026-10-23T19:11:32+00:00"
updated_at: "2026-10-23T21:57:20+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-jf5h-36mg-rp6x", "first_seen_at": "2026-10-23T19:11:32+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112956", "first_seen_at": "2026-10-23T21:57:20+00:00"}]
---

# ApostropheCMS: Archive duplicate continuation lets contributors overwrite published content

The archive duplicate-continuation step in @apostrophecms/import-export accepts client-supplied replacement choices instead of binding them to the user's own duplicate analysis, so it does not reliably check publication authority before updating a target. An attacker with contributor (draft-editing) rights can use it to overwrite published content on an import-enabled localized content type.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- npm:@apostrophecms/import-export affected < 3.7.1 fixed 3.7.1

## How to check

Check the installed @apostrophecms/import-export version (for example in package-lock.json or the output of npm ls @apostrophecms/import-export); anything below 3.7.1 is affected.
Confirm whether the site has import enabled on localized content types and has contributor-level users.

## Fix

Upgrade @apostrophecms/import-export to 3.7.1 or later.
Until then, unknown for a workaround in the sources.

## Timeline

- 2026-10-23T19:11:32+00:00 ghsa https://github.com/advisories/GHSA-jf5h-36mg-rp6x
- 2026-10-23T21:57:20+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-112956

## From the sources

## 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](https://github.com/apostrophecms/apostrophe/blob/5ce3732be0ebdebb4db0f8ef160c81e8671157e6/packages/import-export/lib/methods/import.js).

## Coordination

Vivek R / Winfunc
Original reporting team: Mufeed VH / Winfunc

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
