# CVE-2026-129928: Credential exposure via unmasked connection string in driver parse-error messages for the PHP driver

- Severity: Medium 6.8 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-11-19T19:15:02.394Z
- Modified: 2026-11-23T16:06:05.540Z
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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

## Every score

- mongodb: CVSS:4.0 6.8 Medium `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: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://jira.mongodb.org/browse/PHPC-2804>

## Sources

- CVE List: [CVE-2026-129928](https://www.cve.org/CVERecord?id=CVE-2026-129928), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-129928](https://nvd.nist.gov/vuln/detail/CVE-2026-129928), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-129928 · Whole record: https://cve.day/CVE-2026-129928.json · Rebuilt by cve.day 2026-11-25T22:59:52.186Z
