MongoDB PHP driver info leak via error message
CVE-2026-129928 Published on November 19, 2026
Credential exposure via unmasked connection string in driver parse-error messages for the PHP driver
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.
Vulnerability Analysis
CVE-2026-129928 is exploitable with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
Generation of Error Message Containing Sensitive Information
The software generates an error message that includes sensitive information about its environment, users, or associated data.
Affected Versions
MongoDB PHP Driver:- Version 1.16.0 and below 1.21.14 is affected.
- Version 1.22.0 and below 2.1.14 is affected.
- Version 2.2.0 and below 2.5.8 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.