Connection-option injection via unescaped settings in the canonical MongoDB URL builder
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-88.
Summary
Improper neutralization of delimiters in connection-URL construction allows connection-option injection in the MongoDB C# Driver. When an application passes untrusted text into the driver's connection-URL builder and round-trips the builder back into a client configuration, the untrusted text is serialized without neutralizing the URL/option delimiters and is then re-parsed as authoritative connection options. A low-privileged user of such an application can thereby introduce or suppress security-relevant connection settings.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- 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-56248 NoSQL injection via unquoted constant GroupBy keys in LINQ pipeline translationPriority LOW 36
- 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-81529
References
More MongoDB C# Driver vulnerabilities
- TI-2026-56248 NoSQL injection via unquoted constant GroupBy keys in LINQ pipeline translation CVSS 4.0MEDIUM 6.9
- 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-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
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences