Credential Disclosure Vulnerability in MongoDB PHP Extension
CVE-2026-129928
6.8MEDIUM
What is CVE-2026-129928?
The MongoDB PHP extension inadvertently reveals sensitive connection strings in error messages when they fail to parse correctly. If an attacker can manipulate any segment of the connection string—even non-sensitive parts—they can trigger the extension to output credentials to standard error outputs and log files. This may lead to unauthorized access, as unauthorized users could potentially read this output and gain access to confidential authentication information.
Affected Version(s)
PHP Driver 1.16.0 < 1.21.14
PHP Driver 1.22.0 < 2.1.14
PHP Driver 2.2.0 < 2.5.8