{"id":"UBUNTU-CVE-2026-129931","details":"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.","modified":"2026-11-25T17:45:48Z","published":"2026-11-19T21:17:00Z","upstream":["CVE-2026-129931"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-129931"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-129931"},{"type":"REPORT","url":"https://jira.mongodb.org/browse/JAVA-6297"}],"affected":[{"package":{"name":"mongo-java-driver","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mongo-java-driver?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.12.4-1","binary_name":"libmongodb-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129931.json"}},{"package":{"name":"mongo-java-driver","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mongo-java-driver?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.0-1","3.6.2-1","3.6.3-2~18.04"],"ecosystem_specific":{"binaries":[{"binary_name":"libmongodb-java","binary_version":"3.6.3-2~18.04"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129931.json"}},{"package":{"name":"mongo-java-driver","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mongo-java-driver?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.3-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.3-2","binary_name":"libmongodb-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129931.json"}},{"package":{"name":"mongo-java-driver","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mongo-java-driver?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.3-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.3-2","binary_name":"libmongodb-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129931.json"}},{"package":{"name":"mongo-java-driver","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/mongo-java-driver?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.3-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libmongodb-java","binary_version":"3.6.3-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129931.json"}},{"package":{"name":"mongo-java-driver","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/mongo-java-driver?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.3-2.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmongodb-java","binary_version":"3.6.3-2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129931.json"}},{"package":{"name":"mongo-java-driver","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/mongo-java-driver?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.3-2","3.6.3-2build1","3.6.3-2.1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.3-2.1","binary_name":"libmongodb-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129931.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CNA"},{"type":"CVSS_V4","score":"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","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}