CVE-2026-135225: MongoDB Ruby Driver · Generation of Error Message Containing Sensitive Information
Affects MongoDB Ruby DriverSource CVE Database V5
Not known to be exploited · CVSS 5.7 Medium : upgrade to 2.26.2 when convenient.
Data as of 25 Nov 2026, 18:07 UTC
Thin evidence
One scorer or none| CNA (mongodb) | CVSS 4.0 | 5.7 |
|---|---|---|
| CNA (mongodb) | CVSS 3.1 | 5.5 |
- Patch
- Available – fixed in 2.26.2
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade MongoDB Ruby Driver to 2.26.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MongoDBRuby Driver | Affected
| Fixed in
|
AI-suggested
Upgrade the MongoDB Ruby Driver to version 2.26.2 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated.
Description
CVE-2026-135225 is an information exposure vulnerability in the MongoDB Ruby Driver affecting versions from 2.0.3 up to but not including 2.26.2. The flaw involves the connection string handling where sensitive credential information from the application's configuration can be included in parsing error messages. This exposure occurs because an existing redaction control does not apply to these error messages. An attacker able to read the application's error output or logs could obtain database credentials and deployment details. The issue arises entirely within the application process and does not require database authentication. The vulnerability has a medium severity with a CVSS score of 5.7 and is fixed in version 2.26.2.