Intel

AIKIDO-2026-254207

@apostrophecms/db-connect is vulnerable to Prototype Pollution

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

71

CVE Score

High

Prototype Pollution

Are you affected? Scan for Free

TL;DR

A projection exclusion option passed to a MongoDB query can name __proto__ or another prototype chain property, and the db-connect query builder applies that exclusion by deleting the named property directly from the object rather than validating it first. An authenticated user who controls the projection can delete properties from Object.prototype itself, which is shared across the whole running process, and every other request handled by that process then loses access to the deleted prototype member and can crash or misbehave. The patch validates projection exclusion keys before applying them.

How do I fix this?

Upgrade the @apostrophecms/db-connect 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 use the db-connect module's projection exclusion option.

Versions

1.0.0 - 1.0.2

Fixed in 1.1.0

Background info

@apostrophecms/db-connect is vulnerable to Prototype Pollution in versions 1.0.0 - 1.0.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