Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-129928 EUVD-2026-130676

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

Published Nov 19, 2026 · Updated Nov 19, 2026 · Assigned by mongodb

Description

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.

Affected products

VendorProductAffectedFixed
MongoDB PHP Driver 1.16.0 – < 1.21.14, 1.22.0 – < 2.1.14, 2.2.0 – < 2.5.8 1.21.14

Advisories 1

References