freenode

← CVE tracker

CVE-2026-129928

Credential exposure via unmasked connection string in driver parse-error messages for the PHP driver

Severity
medium CVSS 6.8 (v4.0)
Affects
PHP Driver · MongoDB
Weakness
CWE-209: Generation of Error Message Containing Sensitive Information
Published
19 November 2026 by mongodb
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.