Read the docs

Credentials exposed in MongoDB Java Driver parse error messages

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: 4 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 Java Driver from 3.1.0 before 5.15.0 places credential values from connection configuration into generated text and error output without masking them, unlike other parts of the driver. The flaw is CWE-209, an error message that contains sensitive information. A local user with low privileges who can read output from an application that embeds the driver may obtain database or proxy credentials in clear text.

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

Description from the CNA

A component of the MongoDB Java Driver that processes connection configuration places credential values taken from that configuration into generated text and error output without replacing them with a placeholder, unlike other parts of the driver. A party able to read output produced by an application that embeds the driver may obtain database or proxy credentials in clear text.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00129 1st percentileScored 2026-11-30
Fix Partial Java Driver (MongoDB): 5.15.0Red Hat: 4 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
MongoDBJava Driver3.1.0 to before 5.15.05.15.0Patch availableCNA
  • Java Driver VendorMongoDB Affected 3.1.0 to before 5.15.0 Fixed in 5.15.0 Patch available CNA

Remediation

Upgrade the MongoDB Java Driver to 5.15.0, which is the fixed version. Red Hat rates the issue Moderate and lists its plan as none available for Exploit Intelligence, Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat build of Debezium 3 and Red Hat build of Quarkus.

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

  • Fix · CNA Java Driver (MongoDB) Fixed in 5.15.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    MongoDB Java Driver 5.15.0

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2026-95280 Identity confusion via NUL byte injection in MongoDB Java DriverPriority LOW 28

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Exploit IntelligenceAffectedNo fix yet: Fix deferred
Red Hat build of Apache Camel 4 for Quarkus 3AffectedNo fix yet: Fix deferred
Red Hat build of Debezium 3AffectedNo fix yet: Fix deferred
Red Hat build of QuarkusAffectedNo fix yet: Fix deferred

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-129931
  2. 2026-11-19 CISA SSVC decision points changed
  3. 2026-11-20 Affected versions changed · Red Hat
  4. 2026-11-20 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