CVE-2026-129939
CVE-2026-129939 · Credential exposure via unmasked connection string in driver parse-error messages for the C driver
CVSS 6.8 · Medium · EPSS 0.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- c driverUpdate to 1.30.16 / 2.5.9
- mongo-c-driver Debian 12No fix published
- mongo-c-driver Debian 13No fix published
- mongo-c-driver Debian 14Update to 2.5.9-1
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="mongo-c-driver"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:12640-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
c driver
- Versions
- ≥ 1.9.0, < 1.30.16: Affected (semver)
- ≥ 2.0.0, < 2.5.9: Affected (semver)
Update to 1.30.16; Update to 2.5.9
mongo-c-driver Debian 12
- Versions
- 1.23.1-1
- 1.23.1-1+deb12u1
- 1.23.1-1+deb12u2
- 1.23.1-1+deb12u3
- 1.24.1-1
- 1.24.2-1
All versions (58)
- 1.24.3-1
- 1.24.4-1
- 1.25.0-1
- 1.25.1-1
- 1.25.2-1
- 1.25.4-1
- 1.25.4-1.1~exp1
- 1.26.0-1
- 1.26.0-1.1
- 1.26.0-1.1~exp1
- 1.26.1-1
- 1.26.2-1
- 1.27.0-1
- 1.27.1-1
- 1.27.2-1
- 1.27.3-1
- 1.27.4-1
- 1.27.5-1
- 1.27.6-1
- 1.28.0-1
- 1.28.1-1
- 1.29.0-1
- 1.29.1-1
- 1.29.2-1
- 1.30.0-1
- 1.30.1-1
- 1.30.2-1
- 1.30.3-1
- 1.30.4-1
- 2.0.2-1
- 2.1.0-1
- 2.1.1-1
- 2.1.2-1
- 2.2.0-1
- 2.2.1-1
- 2.2.2-1
- 2.2.3-1
- 2.2.4-1
- 2.3.0-1
- 2.3.1-1
- 2.3.2-1
- 2.3.3-1
- 2.4.0-1
- 2.5.0-1
- 2.5.1-1
- 2.5.2-1
- 2.5.3-1
- 2.5.5-1
- 2.5.6-1
- 2.5.7-1
- 2.5.8-1
- 2.5.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-c-driver Debian 13
- Versions
- 1.30.4-1
- 1.30.4-1+deb13u1
- 1.30.4-1+deb13u2
- 1.30.4-1+deb13u3
- 1.30.4-1+deb13u4
- 1.30.4-1+deb13u5
All versions (29)
- 2.0.2-1
- 2.1.0-1
- 2.1.1-1
- 2.1.2-1
- 2.2.0-1
- 2.2.1-1
- 2.2.2-1
- 2.2.3-1
- 2.2.4-1
- 2.3.0-1
- 2.3.1-1
- 2.3.2-1
- 2.3.3-1
- 2.4.0-1
- 2.5.0-1
- 2.5.1-1
- 2.5.2-1
- 2.5.3-1
- 2.5.5-1
- 2.5.6-1
- 2.5.7-1
- 2.5.8-1
- 2.5.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-c-driver Debian 14
- Versions
- 1.30.4-1
- 2.0.2-1
- 2.1.0-1
- 2.1.1-1
- 2.1.2-1
- 2.2.0-1
All versions (23)
- 2.2.1-1
- 2.2.2-1
- 2.2.3-1
- 2.2.4-1
- 2.3.0-1
- 2.3.1-1
- 2.3.2-1
- 2.3.3-1
- 2.4.0-1
- 2.5.0-1
- 2.5.1-1
- 2.5.2-1
- 2.5.3-1
- 2.5.5-1
- 2.5.6-1
- 2.5.7-1
- 2.5.8-1
- Affected ranges
- ECOSYSTEM: < 2.5.9-1
Update to 2.5.9-1
mongo-c-driver Ubuntu Pro 20.04 LTS
- Versions
- 1.15.0-1
- 1.15.1-1
- 1.15.2-1
- 1.16.0-1
- 1.16.1-1
- 1.16.1-1build1
All versions (8)
- 1.16.1-1build2
- 1.16.1-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-c-driver Ubuntu Pro 22.04 LTS
- Versions
- 1.18.0-1
- 1.19.1-1
- 1.19.2-1
- 1.20.0-1
- 1.20.0-1build1
- 1.20.1-1
All versions (9)
- 1.21.0-1
- 1.21.0-1build1
- 1.21.0-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-c-driver Ubuntu Pro 24.04 LTS
- Versions
- 1.24.3-1
- 1.24.4-1
- 1.25.1-1
- 1.25.2-1
- 1.25.4-1
- 1.26.0-1
All versions (9)
- 1.26.0-1.1ubuntu1
- 1.26.0-1.1ubuntu2
- 1.26.0-1.1ubuntu2+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-c-driver Ubuntu 26.10
- Versions
- 2.2.2-1
- 2.3.1-1
- 2.3.2-1
- 2.3.3-1build1
- 2.5.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-c-driver Ubuntu 26.04 LTS
- Versions
- 1.30.4-1ubuntu1
- 2.2.0-1
- 2.2.1-1
- 2.2.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published