{"id":"UBUNTU-CVE-2026-129924","details":"The MongoDB Ruby driver can include unmasked connection string content in the error it raises when a connection string cannot be parsed. If that connection string carries a secret, the secret may be disclosed in cleartext through the application's error output or logs. No privileges on the driver and no network access are needed to produce the error; a party able to read the application's error output may obtain the secret.","modified":"2026-11-25T17:45:48Z","published":"2026-11-19T20:17:00Z","upstream":["CVE-2026-129924"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-129924"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-129924"},{"type":"REPORT","url":"https://jira.mongodb.org/browse/RUBY-3950"}],"affected":[{"package":{"name":"ruby-mongo","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-mongo?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.10.0-1","binary_name":"ruby-mongo"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129924.json"}},{"package":{"name":"ruby-mongo","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-mongo?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-1","2.4.1-1ubuntu1","2.5.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-mongo","binary_version":"2.5.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129924.json"}},{"package":{"name":"ruby-mongo","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-mongo?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-mongo","binary_version":"2.5.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129924.json"}},{"package":{"name":"ruby-mongo","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-mongo?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.1-1ubuntu1","binary_name":"ruby-mongo"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129924.json"}},{"package":{"name":"ruby-mongo","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-mongo?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.1-1ubuntu1","binary_name":"ruby-mongo"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129924.json"}},{"package":{"name":"ruby-mongo","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/ruby-mongo?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.23.0-1","2.24.0-1","2.24.1-1","2.25.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.25.0-1","binary_name":"ruby-mongo"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129924.json"}},{"package":{"name":"ruby-mongo","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ruby-mongo?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.1-2","2.23.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-mongo","binary_version":"2.23.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129924.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/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:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}