CVE-2026-129928
Medium 6.8No known exploitationFix availableCredential exposure via unmasked connection string in driver parse-error messages for the PHP driver
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 6% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-209
Patching and mitigation
- Patch status
- Fix available (source: CVE record (mongodb))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| MongoDB | PHP Driver | from 1.16.0 before 1.21.14 | 1.21.14 | CVE Program |
| MongoDB | PHP Driver | from 1.22.0 before 2.1.14 | 2.1.14 | CVE Program |
| MongoDB | PHP Driver | from 2.2.0 before 2.5.8 | 2.5.8 | CVE Program |
Timeline
Disclosure
CVE record published by mongodb
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (mongodb)