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

Published Aug 27, 2026
·
Updated

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.

Affected Software

1 affected component
MongoDB MongoDB C# Driver

Event History

Aug 27, 2026
CVE Published
via MITRE·06:32 PM
Data Sourced
via MITRE·06:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using the MongoDB C# Driver are exposed when they place application-supplied values into affected LINQ aggregation-expression or query-filter constructs. The relevant risk is to applications where an untrusted user can influence those values.

2

What does an attacker need to exploit it?

An attacker needs the ability to supply a value that the application incorporates into an affected translated query. No authentication, user interaction, or special attack complexity is indicated by the supplied severity vector.

3

What could exploitation allow?

Special elements in the supplied value may be interpreted as database query logic instead of data. This can cause unintended data to be returned or alter query results, with low confidentiality and integrity impact indicated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203