CVE-2026-129928
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-129928 NameCVE-2026-129928 DescriptionThe 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…
CVE-2026-129928
| Name | CVE-2026-129928 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1154616 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| php-mongodb (PTS) | bookworm | 1.15.0+1.11.1+1.9.2+1.7.5-1 | vulnerable |
| trixie | 2.0.0-1 | vulnerable | |
| trixie (security) | 2.0.0-1+deb13u2 | vulnerable | |
| forky, sid | 2.5.5-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| php-mongodb | source | (unstable) | (unfixed) | 1154616 |
Notes
https://jira.mongodb.org/browse/PHPC-2804
Apply commands
https://jira.mongodb.org/browse/PHPC-2804
OS impact
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | php-mongodb |
Affected | — |
| sid | php-mongodb |
Affected | — |
| forky | php-mongodb |
Affected | — |
| bookworm | php-mongodb |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mongodb | php_driver | {"startIncluding":"1.16.0","endExcluding":"1.21.14"} | 1.21.14 |
| mongodb | php_driver | {"startIncluding":"1.22.0","endExcluding":"2.1.14"} | 2.1.14 |
| mongodb | php_driver | {"startIncluding":"2.2.0","endExcluding":"2.5.8"} | 2.5.8 |
References
CWEs
CWE-209
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.