← VULNERABILITIES

CVE-2026-129928

Credential exposure via unmasked connection string in driver parse-error messages for the PHP driver

Medium · 6.8Fix available
CVSS
6.8
EPSS
0.16% (p6)
Published
2026-11-19
Age
15d old
Modified
2026-11-23
Product
MongoDB PHP Driver

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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.

Fixed in

1.21.14 · 2.1.14 · 2.5.8

Affected packages

EcosystemPackageRangeFixed
vendorPHP Driver>=1.16.0, <1.21.141.21.14
vendorPHP Driver>=1.22.0, <2.1.142.1.14
vendorPHP Driver>=2.2.0, <2.5.82.5.8

Sources

  • NVD · first seen 15d ago · NVD terms of use
  • CVE List · first seen 15d ago · CVE Terms of Use

References

JSON