CVE-2026-129928
Published:November 19, 2026
Updated:November 23, 2026
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 Packages
https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=2.2.0 <2.5.8Fix Suggestion:
Update to version 2.5.8https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=2.0.0 <2.1.14Fix Suggestion:
Update to version 2.1.14https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=1.2.0alpha1 <1.21.14Fix Suggestion:
Update to version 1.21.14mongodb/mongodb-extension (PHP):
Affected version(s) >=1.2.0alpha1 <1.21.14Fix Suggestion:
Update to version 1.21.14mongodb/mongodb-extension (PHP):
Affected version(s) >=2.2.0 <2.5.8Fix Suggestion:
Update to version 2.5.8mongodb/mongodb-extension (PHP):
Affected version(s) >=2.0.0 <2.1.14Fix Suggestion:
Update to version 2.1.14Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.8
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.5
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Generation of Error Message Containing Sensitive Information
EPSS
Base Score:
0.16