Description
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.
Published: 2026-08-27
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw lies in improper neutralization of delimiters when the MongoDB C# Driver constructs a connection URL, allowing untrusted text to be serialized without escaping URL or option delimiters. When the URL builder round‑trips back into a client configuration, the inserted characters are parsed as legitimate options, giving an attacker the ability to inject or suppress security‑relevant settings such as disabling TLS, altering authentication, or enabling additional drivers. This could enable a low‑privileged user to bypass authentication, downgrade encryption, or otherwise compromise the integrity of database connections. The vulnerability directly leads to unauthorized configuration changes that can undermine the security controls enforced by the database client.

Affected Systems

All installations of the MongoDB C# Driver that use the canonical URL builder are impacted, including the version referenced in the advisory, 3.11.1, and any subsequent releases until the fix is applied. The issue is not limited to a single patch version, so any application that directly passes untrusted strings to the driver’s URL builder is potentially vulnerable.

Risk and Exploitability

The CVSS score of 7.1 classifies the issue as medium severity. EPSS data is not available, so the probability of exploitation cannot be quantified, but the flaw is not listed in the CISA KEV catalog. The likely attack vector is local or remote depending on how the application accepts input that is forwarded to the driver. Once the attacker controls the string passed to the URL builder, the attack can be executed immediately and does not require complex conditions.

Generated by OpenCVE AI on August 28, 2026 at 08:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the MongoDB C# Driver to a release that includes the URL builder fix.
  • Validate or sanitize all external input before it is passed to the driver’s connection‑URL builder, ensuring that only trusted data is used for configuration.
  • Restrict the use of the URL builder to internal or controlled contexts and consider constructing client options via dedicated configuration objects rather than passing raw URLs.

Generated by OpenCVE AI on August 28, 2026 at 08:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c# Driver
Vendors & Products Mongodb
Mongodb c# Driver

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Connection-option injection via unescaped settings in the canonical MongoDB URL builder
Weaknesses CWE-88
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N'}


Subscriptions

Mongodb C# Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-08-27T22:34:51.805Z

Reserved: 2026-08-26T22:14:30.340Z

Link: CVE-2026-81529

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T20:18:51.480

Modified: 2026-08-28T00:18:21.383

Link: CVE-2026-81529

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T07:30:07Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')