Read the docs

Credential leak in MongoDB Rust Driver connection string errors

Priority LOW 25CWE-209Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-209.

Summary

The MongoDB Rust driver from 2.0 before 3.10.2 can include database password text and authentication property values in error messages returned for malformed connection strings. The optional error-redaction feature does not fully remove this text. A party with read access to the application's logs or error output may obtain part or all of a database credential. This is tracked as CWE-209.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

The MongoDB Rust driver's connection-string parser can include database password text and authentication property values in the error messages it returns when a connection string is malformed. The optional error-redaction feature does not fully remove this text. A party with read access to the application's logs or error output may obtain part or all of a database credential.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00282 13th percentileScored 2026-11-30
Fix Partial Rust Driver (MongoDB): 3.10.2Red Hat: 1 without a fix

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

VendorProductAffected versionsFixed inStatusSource
MongoDBRust Driver2.0 to before 3.10.23.10.2Patch availableCNA
  • Rust Driver VendorMongoDB Affected 2.0 to before 3.10.2 Fixed in 3.10.2 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:*:*:*——MongoDB
  • cpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:*:*:* Versions — — ·MongoDB

Remediation

Upgrade the MongoDB Rust Driver to version 3.10.2. Red Hat lists Logging Subsystem for Red Hat OpenShift as affected without a fix, and no plan is available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA Rust Driver (MongoDB) Fixed in 3.10.2

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Logging Subsystem for Red Hat OpenShiftAffectedNo fix yet: Fix deferred

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-135897
  2. 2026-11-25 CISA SSVC decision points changed
  3. 2026-11-27 Affected versions changed · Red Hat
  4. 2026-11-27 CVSS score added · Red Hat

References

  • TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
  • TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
  • TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
  • TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
  • TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
  • TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
See all 449 →

Sources