Skip to main content
VulnerabilityPublished

CVE-2026-135225: MongoDB Ruby Driver · Generation of Error Message Containing Sensitive Information

Affects MongoDB Ruby DriverSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
5.7Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (mongodb)CVSS 4.05.7
CNA (mongodb)CVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
MongoDBRuby DriverAffected
  • >=2.0.3 <2.26.2
Fixed in
  • 2.26.2

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.

References

Community reviews

Loading reviews…