Skip to content

CVE-2026-81527 NoSQL injection via unquoted constant GroupBy keys in LINQ pipeline translation

MediumCVSS 6.9 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

A NoSQL/expression injection weakness exists in the LINQ-to-aggregation query translation layer of the MongoDB C# Driver, in both aggregation expression and query filter translation. When application-supplied values are embedded in certain query constructs, special elements contained within those values are not properly escaped before the resulting query is transmitted to the database, so portions of the value may be interpreted by the database as query logic rather than as data. A user able to supply values that an application incorporates into an affected query may thereby cause unintended data to be returned or query results to be altered.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
MongoDB C Driver >= 2.10.0, < 3.11.1; >= 2.14.0, < 3.11.1 3.11.1 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB C Driver >= 2.14.0, < 3.11.1 3.11.1
MongoDB C Driver >= 2.10.0, < 3.11.1 3.11.1

References