CVE-2026-129939: MongoDB C Driver
Medium severity, CVSS 5.5. EPSS: 0.2% probability of exploitation activity in the next 30 days.
The MongoDB C Driver places a submitted connection-string option value into a diagnostic message without redaction when that option fails validation. The message is returned to the calling application and is also written to the process's standard error by the driver's default logging behavior. A party that can influence the connection string given to an application using the driver may cause that field's contents to be recorded, which may result in unintended disclosure of information the application placed in that field.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- MongoDB C Driver, from 1.9.0, before 1.30.16: fixed in 1.30.16
- MongoDB C Driver, from 2.0.0, before 2.5.9: fixed in 2.5.9
Affected products
- MongoDB C Driver: from 1.9.0, before 1.30.16 (fixed in 1.30.16); from 2.0.0, before 2.5.9 (fixed in 2.5.9)
Published 2026-11-19. Last modified 2026-11-19.