Skip to content
Threat Brief

← All advisories

CVE-2026-129928

Medium 6.8No known exploitationFix available

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

Record last updated

CVSS score

6.8

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.2%

Higher than 6% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-209

Patching and mitigation

Patch status
Fix available (source: CVE record (mongodb))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
No vendor link on record

Affected products

VendorProductAffected versionsFixed inPer
MongoDBPHP Driverfrom 1.16.0 before 1.21.141.21.14CVE Program
MongoDBPHP Driverfrom 1.22.0 before 2.1.142.1.14CVE Program
MongoDBPHP Driverfrom 2.2.0 before 2.5.82.5.8CVE Program

Timeline

  1. Disclosure

    CVE record published by mongodb

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (mongodb)

    Source: CVE record (mongodb) (opens in a new tab)

Vendor guidance and references