CVE-2026-129928
JSON

6.8medium

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

Severity
6.8medium CVSS:4.0 by mongodb
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
MongoDB PHP Driverfrom 1.16.0 before 1.21.14, from 1.22.0 before 2.1.14, from 2.2.0 before 2.5.8CVE List

All scores

mongodb6.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
mongodb5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-209

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-129928 changed 2026-11-19CVE Terms of Use
NVDCVE-2026-129928 changed 2026-11-23Public domain