CVE-2026-129928
Credential exposure via unmasked connection string in driver parse-error messages for the PHP driver
CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-209 |
| Vendor | mongodb |
| Product | php driver |
| Ecosystems | |
| Industries | Technology |
| Published | Nov 19, 2026 |
| Last Updated | Nov 19, 2026 |
Stay Ahead of the Next One
Get instant alerts for mongodb php driver
Be the first to know when new medium vulnerabilities affecting mongodb php driver are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
MongoDB / PHP Driver
1.16.0 < 1.21.14 1.22.0 < 2.1.14 2.2.0 < 2.5.8