Vulnerability in MongoDB C# Driver

CVE-2026-81527

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.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-81527?
CVE-2026-81527 is a medium-severity vulnerability in MongoDB C# Driver, classified under Improper Neutralization of Special Elements in Data Query Logic. CVSS score: 6.5/10. Published 2026-08-27.
How severe is CVE-2026-81527?
Medium severity. CVSS v3 base score is 6.5 out of 10.