Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-135225— Sensitive information in error messages from the Ruby Driver connection string parser

Quick assessment

Affected
MongoDB Ruby Driver
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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 a

CVSS 5.5 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-135225

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Sensitive information in error messages from the Ruby Driver connection string parser
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
通过错误消息导致的信息暴露
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
MongoDB Ruby Driver 2.0.3 ~ 2.26.2 -

II. Public POCs for CVE-2026-135225

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-135225

请登录查看更多情报信息。

Other References for CVE-2026-135225 (1)

Same Patch Batch · MongoDB · 2026-11-25 · 21 CVEs total

CVE-2026-135224 9.1 CRITICAL Improper validation of OCSP responder authorization in the C Driver
CVE-2026-135898 8.2 HIGH Out-of-bounds read in BSON array decoding in the Python Driver C extension
CVE-2026-135227 8.2 HIGH Improper restriction of object attributes in Mongoid belongs_to assignment
CVE-2026-135147 8.2 HIGH Improper neutralization of query expressions in incrementEach() and decrementEach() in Lar
CVE-2026-135144 8.1 HIGH Missing authorization when beforeQuery callbacks are skipped in Laravel MongoDB
CVE-2026-135145 8.1 HIGH Incorrect authorization in whereDoesntHave morph-map handling in Laravel MongoDB
CVE-2026-135141 8.1 HIGH Incorrect authorization from a discarded default scope in Mongoid
CVE-2026-135133 7.8 HIGH Invalid pointer release for non-string option values in the PHP Driver
CVE-2026-135226 7.5 HIGH Type confusion in DBPointer handling in BSON Ruby Extended JSON parsing
CVE-2026-135146 7.4 HIGH Improper certificate revocation check for stapled OCSP responses in the Python Driver
CVE-2026-135228 6.5 MEDIUM Mass assignment guard bypass in the Laravel MongoDB Eloquent integration
CVE-2026-135139 6.5 MEDIUM Incorrect authorization in has_many delete_all in Mongoid
CVE-2026-135138 6.5 MEDIUM Improper restriction of read-only attributes with dotted keys in Mongoid
CVE-2026-135135 6.5 MEDIUM Cleartext storage of encrypted embedded fields that use store_as in Mongoid
CVE-2026-135142 6.5 MEDIUM Incorrect authorization in embedded relation writes in Laravel MongoDB
CVE-2026-135134 5.9 MEDIUM NULL pointer dereference when parsing server hello replies in the C Driver
CVE-2026-135897 5.5 MEDIUM Sensitive information in connection string parse errors in the Rust Driver
CVE-2026-135140 4.3 MEDIUM Cleartext storage of encrypted foreign key fields in Mongoid
CVE-2026-135223 4.3 MEDIUM Memory leak on duplicate fields in key vault documents in libmongocrypt
CVE-2026-135222 3.3 LOW Incorrect authorization in AWS credential selection in the C Driver

IV. Related Vulnerabilities