AI and data stack advisories

1 critical this month · 294 projects

MongoDBCVE-2026-135225

MongoDB Ruby Driver: information disclosure

MongoDB

CVE-2026-135225 · Published Nov 25, 2026

Medium5.7
Fix: upgrade to 2.26.2 or later
MongoDB advisory

An information exposure weakness in the connection string handling of the MongoDB Ruby Driver can place credential material from the application's own configuration into the text of a parsing error, where an existing redaction control does not apply. A party able to read the application's error output or logs may thereby obtain database credential text together with deployment coordinates. The condition arises entirely within the embedding application process and requires no database authentication.

Affected versions

PackageAffectedFixed in
Ruby Driver
Product
>= 2.0.3, < 2.26.22.26.2
Details and references
CVSS 4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-209

More MongoDB advisories

All MongoDB
CVE-2026-135227Nov 25MongoDB Ruby Driver: mass assignmentAn improper restriction of dynamically determined object attributes in the object-document mapping library's association handling allows structured input supplied in place of a simple identifier...High8.3Fixed in 9.1.3CVE-2026-135898Nov 25MongoDB Python Driver: out-of-bounds readAn out-of-bounds read in the native C BSON decoding extension of the MongoDB Python Driver may allow an unauthenticated party who can supply crafted BSON data to the decoder to cause the application...High8.8Fixed in 4.20.2CVE-2026-135138Nov 25MongoDB Ruby Driver: mass assignmentMongoid does not consistently apply its read-only attribute protection when attribute names are supplied dynamically by the caller.Medium6.0Fixed in 9.1.3CVE-2026-135139Nov 25MongoDB Ruby Driver: improper authorizationMongoid contains an incorrect authorization weakness in the handling of caller-supplied filters for bulk removal through a referenced association.Medium6.0Fixed in 9.1.3CVE-2026-135140Nov 25MongoDB Ruby Driver: cleartext storageMongoid may omit a field from the client-side encryption settings it generates for a collection when that same field is also used as a reference to another record.Medium5.3Fixed in 9.1.3CVE-2026-135141Nov 25MongoDB Ruby Driver: improper authorizationA logic flaw in the query-building layer of the Mongoid object-document mapper causes a model-level default restriction that is meant to return no records to be silently discarded when it is combined...High8.6Fixed in 9.1.3