Skip to content

PHP Driver

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

CVE-2026-129928Published 19 Nov 2026, 19:15 UTC

Real-world risk

3.4/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.8

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from mongodb)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
PHP DriverNiche>= 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

What to do

Update to a fixed version: 1.21.14, 2.1.14, 2.5.8.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.2% chance of exploitation in 30 days (percentile 6), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.500
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.5 × threat 0.853.400
  4. Rounded to one decimal between 0.1 and 103.4

How the score works

Exploitation and evidence timeline

  1. 19 Nov 2026 Published
  2. 3 Dec 2026 Risk 3.4 (cvss fallback)

Weakness

CWE-209

References

Get alerts for PHP Driver

Free email or text alerts when a vulnerability in PHP Driver reaches risk 8 or higher. Nothing else.