CVE-2026-129928
6.8medium
Credential exposure via unmasked connection string in driver parse-error messages for the PHP driver
- Severity
- 6.8medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB PHP Driver | from 1.16.0 before 1.21.14, from 1.22.0 before 2.1.14, from 2.2.0 before 2.5.8 | CVE List |
All scores
| mongodb | 6.8medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| mongodb | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-129928 changed 2026-11-19 | CVE Terms of Use |
| NVD | CVE-2026-129928 changed 2026-11-23 | Public domain |