CVE-2026-129928
published medium CVSS 4.0 · 6.8Credential exposure via unmasked connection string in driver parse-error messages for the PHP driver
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | PHP Driver1.16.0 to < 1.21.14 · 1.22.0 to < 2.1.14 · 2.2.0 to < 2.5.8 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | mongodb · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | PHP Driver | 1.16.0 to < 1.21.14 (affected · semver)1.22.0 to < 2.1.14 (affected · semver)2.2.0 to < 2.5.8 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-209 CWE-209: Generation of Error Message Containing Sensitive Information
References
1Provider assertions
2mongodb · cna
Credential exposure via unmasked connection string in driver parse-error messages for the PHP driver
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a2bc31f43bf1455a39c34e42e30a41b2f6d6996b67b463e416ea5750dfdb54c7
- Ingested
- 19 Nov 2026, 21:17:33 UTC
- Source record
- Official CVE record