CVE-2026-129928
CVE-2026-129928 · Credential exposure via unmasked connection string in driver parse-error messages for the PHP 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.
- php driverUpdate to 1.21.14 / 2.1.14 / 2.5.8
- php-mongodb Debian 12No fix published
- php-mongodb Debian 13No fix published
- php-mongodb Debian 14No fix published
- and 7 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="php-mongodb"'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 PHP extension includes the full connection string it was given in the error it raises when that string cannot be parsed. A party able to influence any part of the connection string, including a part that holds no secret, can cause the resulting message to carry credentials into the application's standard error output and log files. This may result in unintended disclosure of authentication material to anyone able to read that output.
- Published
- Updated
Stack: system
Affected products and versions
php driver
- Versions
- ≥ 1.16.0, < 1.21.14: Affected (semver)
- ≥ 1.22.0, < 2.1.14: Affected (semver)
- ≥ 2.2.0, < 2.5.8: Affected (semver)
Update to 1.21.14; Update to 2.1.14; Update to 2.5.8
php-mongodb Debian 12
- Versions
- 1.15.0+1.11.1+1.9.2+1.7.5-1
- 1.19.3-1
- 1.19.4-2
- 1.19.4-3~exp2
- 1.19.4-3~exp3
- 1.19.4-3~exp4
All versions (13)
- 1.20.0-1
- 1.20.1-1
- 1.21.0-1
- 2.0.0-1
- 2.1.0-1
- 2.5.3-1
- 2.5.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-mongodb Debian 13
- Versions
- 2.0.0-1
- 2.0.0-1+deb13u1
- 2.0.0-1+deb13u2
- 2.1.0-1
- 2.5.3-1
- 2.5.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-mongodb Debian 14
- Versions
- 2.0.0-1
- 2.1.0-1
- 2.5.3-1
- 2.5.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-mongodb Ubuntu 16.04 LTS
- Versions
- 1.1.2-2~ubuntu1
- 1.1.5-1~build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-mongodb Ubuntu 18.04 LTS
- Versions
- 1.2.3-1build1
- 1.3.4-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-mongodb Ubuntu 20.04 LTS
- Versions
- 1.5.5-1build1
- 1.6.1-4
- 1.6.1-4build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-mongodb Ubuntu 22.04 LTS
- Versions
- 1.9.0+1.7.5-2build2
- 1.11.1+1.9.2+1.7.5-4
- 1.12.0+1.9.2+1.7.5-3
- 1.12.0+1.9.2+1.7.5-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-mongodb Ubuntu 24.04 LTS
- Versions
- 1.15.0+1.11.1+1.9.2+1.7.5-1build1
- 1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu1
- 1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu2
- 1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-mongodb Ubuntu 26.10
- Versions
- 2.1.7-0ubuntu1
- 2.1.7-0ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-mongodb Ubuntu 26.04 LTS
- Versions
- 2.1.0-1
- 2.1.7-0ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published