CVE-2026-129924
JSON

6.8medium

Credential exposure via unmasked connection string in driver parse-error messages for the Ruby driver

Severity
6.8medium CVSS:4.0 by mongodb
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb

Description

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.

Affected

Product or packageVersionsReported by
MongoDB Ruby Driverfrom 2.0.3 before 2.26.2CVE List

All scores

mongodb6.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
mongodb5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-209

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-129924 changed 2026-11-19CVE Terms of Use
NVDCVE-2026-129924 changed 2026-11-23Public domain