CVE-2026-129928

published 19 Nov 2026 · updated 23 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in PHP Driver 1.21.14, PHP Driver 2.1.14 and PHP Driver 2.5.8.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBPHP Driver>=1.16.0 <1.21.14, >=1.22.0 <2.1.14, >=2.2.0 <2.5.81.21.14, 2.1.14, 2.5.8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-129928 severity on Zeptric[![CVE-2026-129928](https://zeptric.io/badge/cve/CVE-2026-129928.svg)](https://zeptric.io/cve/CVE-2026-129928)