CVE-2026-120567

EF Core provider: pipeline-form ExecuteUpdate evaluates a user string setter as a $-field reference

Published Nov 3, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
Description
The MongoDB Entity Framework Core provider does not neutralize special elements in values passed to SetProperty when an ExecuteUpdate call also contains a setter that reads the entity being updated. In that case the update is sent as an aggregation pipeline, and a caller-supplied string beginning with $ is evaluated as an expression rather than stored as data. A party who can influence such a value may modify or remove fields in the records being updated, or copy other fields of the same record into them.

Analysis

AI-generated

Technical impact

The MongoDB Entity Framework Core provider fails to neutralize special elements in values passed to SetProperty when an ExecuteUpdate call also contains a setter that reads the entity being updated. In that scenario the update is sent as an aggregation pipeline, and a caller‑supplied string beginning with $ is evaluated as an expression rather than stored as data. This allows a party who can influence such a value to modify or remove fields in the records being updated, or to copy other fields of the same record into them, resulting in unintended data corruption and loss of data integrity.

Affected Systems

The vulnerability affects the MongoDB Entity Framework Core provider. No specific product versions are listed in the CNA data, so any deployment of this provider that includes bulk update logic may be susceptible.

Risk and Exploitability

The CVSS score of 2.3 indicates a low severity impact. The EPSS score of 0.0015 (less than 1%) suggests that exploitation is unlikely but not impossible, and the vulnerability is not listed in the CISA KEV catalog, indicating limited public exploitation knowledge. However, if an attacker can supply data that is processed by a bulk update operation, they could exploit the flaw to modify application data. The risk is primarily for data integrity rather than confidentiality or availability, and the likelihood of exploitation depends on the presence of unescaped user inputs in update logic.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest release of the MongoDB Entity Framework Core Provider that contains the expression neutralization fix.
  • Review all bulk‑update code paths to confirm that any user‑supplied values are properly sanitized or escaped before being sent to MongoDB.
  • Implement input validation rules to reject or escape characters that could be interpreted as MongoDB expressions in update operations.
  • Restrict update operations to explicitly specified fields and avoid passing arbitrary data structures to the database.

Generated by OpenCVE AI on November 4, 2026 at 17:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The MongoDB Entity Framework Core provider does not neutralize special elements when it places a caller-supplied value into a bulk update that is expressed as a databasea result, a value supplied as plain data may be interpreted by the database as expression syntax. A part value through normal application input may causeunintended modification of fields in the records the application is updating, and may cause data already held in those records to be relocated into other fields of the same record. The MongoDB Entity Framework Core provider does not neutralize special elements in values passed to SetProperty when an ExecuteUpdate call also contains a setter that reads the entity being updated. In that case the update is sent as an aggregation pipeline, and a caller-supplied string beginning with $ is evaluated as an expression rather than stored as data. A party who can influence such a value may modify or remove fields in the records being updated, or copy other fields of the same record into them.
Title ExecuteUpdate may evaluate caller-supplied values as MongoDB expressions EF Core provider: pipeline-form ExecuteUpdate evaluates a user string setter as a $-field reference
Type Values Removed Values Added
First Time appeared Mongodb
Mongodb entity Framework Core Provider
Vendors & Products Mongodb
Mongodb entity Framework Core Provider
Type Values Removed Values Added
Description The MongoDB Entity Framework Core provider does not neutralize special elements when it places a caller-supplied value into a bulk update that is expressed as a databasea result, a value supplied as plain data may be interpreted by the database as expression syntax. A part value through normal application input may causeunintended modification of fields in the records the application is updating, and may cause data already held in those records to be relocated into other fields of the same record.
Title ExecuteUpdate may evaluate caller-supplied values as MongoDB expressions
Weaknesses CWE-943
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Nov 6, 2026, 7:52 PM
Reserved
Nov 2, 2026, 4:36 PM
Status
Awaiting Analysis
Published
Nov 3, 2026, 8:18 PM
Modified
Nov 6, 2026, 8:20 PM