SecurityContext

CVE-2026-81527: MongoDB C# Driver - NoSQL Injection

  • Cve: CVE-2026-81527
  • Name: MongoDB C# Driver - NoSQL Injection
  • 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.
  • Impact: Attackers can manipulate queries to alter results or access unintended data, potentially compromising data integrity and confidentiality.
  • Remediation: Update to the latest version of MongoDB C# Driver.
  • Vulnerability type: nosql_injection
  • Vulnerability impact: data_tampering, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00306
  • Epss percentile: 0.23567
  • Assignee: [email protected]
  • Published at: 2026-08-27T20:18:51Z
  • Age in days: 89
  • Modified at: 2026-09-29T19:16:34Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-81527
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-943Improper Neutralization of Special Elements in Data Query Logic

References

UrlSourceTags
https://jira.mongodb.org/browse/CSHARP-6156nvdVendor Advisory
https://www.nuget.org/packages/MongoDB.Driver/3.11.1nvdProduct

Products

ProductAffectedPlatform boundSourcesUrl
mongodb:c#_driver>= 2.10.0, < 3.11.1nonvd/v1/products/mongodb/c#_driver

Projects

RepositoryLink kindsIndexedUrl
mongodb/mongo-csharp-driverfixyes/v1/repositories/mongodb/mongo-csharp-driver

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts