Improperly Controlled Modification of Dynamically-Determined Object Attributes Affecting @payloadcms/db-mongodb package, versions <3.87.0>=4.0.0-canary.0 <4.0.0-canary.20


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PAYLOADCMSDBMONGODB-20936878
  • published14 Oct 2026
  • disclosed7 Oct 2026
  • creditGaurav Dalal

Introduced: 7 Oct 2026

NewCVE-2026-106100  (opens in a new tab)
CWE-639  (opens in a new tab)
CWE-915  (opens in a new tab)

How to fix?

Upgrade @payloadcms/db-mongodb to version 3.87.0, 4.0.0-canary.20 or higher.

Overview

@payloadcms/db-mongodb is a The officially supported MongoDB database adapter for Payload

Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes via the beforeValidate hook's array and blocks field processing, when null or non-object values are present in array or blocks field rows. An authenticated attacker can submit a document payload containing null entries in array or blocks fields, bypassing downstream validation logic that expects plain objects - for example, property assignment such as row.blockType = ... - which can corrupt document data and allow unintended writes to the database.

CVSS Base Scores

version 4.0
version 3.1