MongoDB fixes server and Java driver flaws including credential exposure risk
Patch & Detection Intelligence · 4 sources · Updated 4mo ago · First seen Aug 12, 2026

MongoDB disclosed multiple vulnerabilities in MongoDB Server and the MongoDB Java Driver, including one critical issue and at least 16 high-severity flaws that can lead to remote code execution, information disclosure, authentication bypass, data manipulation, and denial of service. National cyber agencies in Italy, Canada, and Guyana published advisories urging organizations to review MongoDB’s security bulletins and update affected deployments.
A key server-side issue, CVE-2026-18691 / SERVER-130264, affects intra-cluster SASL egress connection setup and can allow an attacker with adjacent network access to downgrade authentication to PLAIN, exposing a cleartext keyfile and potentially enabling authentication as MongoDB’s internal superuser. Advisories say the server flaw affects versions before 7.0.40, 8.0.29, 8.2.13, 8.3.8, and 9.0.0-rc2, while the Java Driver issue JAVA-6266 affects versions 4.11.0 through 5.9.1 and can expose a proxy password through ProxySettings.toString; administrators are advised to upgrade to patched releases immediately.
Why it matters
Impact assessment
MongoDB deployments using affected server branches and Java Driver releases are exposed to high-risk flaws that can enable credential disclosure, authentication bypass, remote code execution, data manipulation, information disclosure, and denial of service. The most serious disclosed server issue, CVE-2026-18691, can allow an adjacent-network attacker to recover the cluster’s internal shared credential and authenticate as MongoDB’s internal superuser, creating a direct path to full cluster compromise.
Affected scope
- Affected products: MongoDB Server and MongoDB Java Driver
- Affected MongoDB Server release lines: versions before 7.0.40, 8.0.29, 8.2.13, 8.3.8, and 9.0.0-rc2
- Affected MongoDB Java Driver versions: 4.11.0 through 5.9.1, or prior to 5.9.2 per advisory references
- Likely affected populations: enterprises operating self-managed MongoDB replica sets or clusters, application teams embedding the Java Driver, and managed environments that lag vendor patch levels
Severity and business risk
- One vulnerability is reported as critical and at least 16 as high severity
- Reported impacts include arbitrary code execution, information disclosure, authentication bypass, data manipulation, and denial of service
- CVE-2026-18691 specifically risks exposure of the cluster keyfile or shared internal credential, which can enable privileged access across deployment nodes
- Java Driver issue JAVA-6266 can expose proxy credentials through string rendering, increasing risk of credential leakage into logs, debugging output, or monitoring systems
Scope and exploitation status
- Exposure is potentially widespread because MongoDB Server and the Java Driver are broadly deployed across application and data platforms
- CVE-2026-18691 requires adjacent network access rather than unauthenticated internet-only reachability, which narrows but does not eliminate practical risk in flat or poorly segmented environments
- No confirmed exploitation in the wild is stated in the provided references
- Multiple national cyber agencies issued advisories, indicating elevated concern and broad relevance


