CVE-2026-129928MongoDB PHP Driver Generation of Error Message Containing Sensitive Information
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 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:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.5)
CVSS v3.1 Base Metrics — Score 5.5 (MEDIUM)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NAttack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- MongoDB PHP Driver >= 1.16.0 and < 1.21.14
- MongoDB PHP Driver >= 1.22.0 and < 2.1.14
- MongoDB PHP Driver >= 2.2.0 and < 2.5.8
- MongoDB PHP Driver 1.21.14
- MongoDB PHP Driver 2.1.14
- MongoDB PHP Driver 2.5.8
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run MongoDB PHP Driver and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new MongoDB PHP Driver CVEsYou are reading CVE-2026-129928. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Issue Trackinghttps://jira.mongodb.org/browse/PHPC-2804
Data last checked: Nov 24, 2026 15:36 UTC