CVE-2026-129928: MongoDB PHP Driver
Medium severity, CVSS 5.5. EPSS: 0.2% probability of exploitation activity in the next 30 days.
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.
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 PHP Driver, from 1.16.0, before 1.21.14: fixed in 1.21.14
- MongoDB PHP Driver, from 1.22.0, before 2.1.14: fixed in 2.1.14
- MongoDB PHP Driver, from 2.2.0, before 2.5.8: fixed in 2.5.8
Affected products
- MongoDB PHP Driver: from 1.16.0, before 1.21.14 (fixed in 1.21.14); from 1.22.0, before 2.1.14 (fixed in 2.1.14); from 2.2.0, before 2.5.8 (fixed in 2.5.8)
Published 2026-11-19. Last modified 2026-11-23.