NoSQL injection via unquoted constant GroupBy keys in LINQ pipeline translation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA C# Driver (MongoDB) Fixed in 3.11.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
MongoDB C# Driver 3.11.1
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2026-56250 Connection-option injection via unescaped settings in the canonical MongoDB URL builderPriority LOW 31
- TI-2026-56251 KMS master key exposure via unredacted credential serialization in driver settings stringPriority LOW 29
- TI-2026-56249 NoSQL injection via array replacement bypassing update shape validation in driver write pathPriority LOW 24
Timeline
- 2026-10-02 Threatist record created from CVE-2026-81527
- 2026-10-03 Alias added: GHSA-qvhj-5652-cjrg
References
More MongoDB C# Driver vulnerabilities
- TI-2022-23899 Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution CVSS 3.1HIGH 7.2
- TI-2026-60051 Regular expression injection via unescaped characters in LINQ query translation in MongoDB C# Driver CVSS 4.0HIGH 7.1
- TI-2026-56250 Connection-option injection via unescaped settings in the canonical MongoDB URL builder CVSS 4.0HIGH 7.1
- TI-2026-56251 KMS master key exposure via unredacted credential serialization in driver settings string CVSS 4.0MEDIUM 6.8
- TI-2026-60050 GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB C# Driver CVSS 4.0MEDIUM 6.1
- TI-2026-56249 NoSQL injection via array replacement bypassing update shape validation in driver write path CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-81527 · CVE Program
- CVE-2026-81527 · NVD
- FIRST EPSS
- GHSA-qvhj-5652-cjrg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences