Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Java

CVE-2026-129931 — MongoDB Java Driver

Medium · CVSS 5.7EPSS 0.1% First seen November 19, 2026

One of 3 MongoDB Java Driver vulnerabilities published together by NVD: our article covers all of them.

JavaDatabasesVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.7 CVSS 4.0 base score from the CNA (mongodb.com)

An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
low (no special conditions)
Special conditions
only in some setups or conditions
Login needed
yes, a normal user account
User action needed
no
Impact
high on confidentiality, none on integrity and availability
Impact on other systems
none

Vector CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 4.7 from the CNA (mongodb.com): CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Weakness

  • CWE-209: Generation of Error Message Containing Sensitive Information

Affected and fixed versions

ProductAffected versionsFixed in
MongoDB Java Driver≥ 3.1.0, < 5.15.05.15.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • MongoDB Java Driver

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-129931?

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. Weakness type: Generation of Error Message Containing Sensitive Information (CWE-209).

How severe is CVE-2026-129931?

CVE-2026-129931 has a CVSS 4.0 base score of 5.7 (medium), from the CNA (mongodb.com). An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.

Is CVE-2026-129931 being exploited?

Not as far as is known: CVE-2026-129931 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026. EPSS estimates a 0.1% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-129931?

MongoDB Java Driver ≥ 3.1.0, < 5.15.0 (fixed in 5.15.0).

How do I fix CVE-2026-129931?

Update to a fixed release: MongoDB Java Driver 5.15.0.

Timeline & sources

References

Related vulnerabilities & news