Intel

AIKIDO-2026-732294

@apostrophecms/import-export is vulnerable to NoSQL Injection

CVE-2026-113662Published Oct 14, 2026
October 14, 2026

54

CVE Score

Medium

NoSQL Injection

Are you affected? Scan for Free

TL;DR

The import-export module's update key matching logic passes the import file's declared key value directly into the MongoDB query used to find the document to update, without restricting it to a plain scalar. A crafted update key value containing MongoDB query operators can match a document other than the intended one, letting a crafted import overwrite an unrelated existing document. The patch restricts update key values to safe scalar matches before building the query.

How do I fix this?

Upgrade the @apostrophecms/import-export library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you import documents through the import-export module's update key matching.

Versions

1.0.0 - 3.6.2

Fixed in 3.7.0

Background info

@apostrophecms/import-export is vulnerable to NoSQL Injection in versions 1.0.0 - 3.6.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea