Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-135225

Sensitive information in error messages from the Ruby Driver connection string parser

Products / packages MongoDB Ruby Driver

Published

Share

Severity and exploitation

Not in CISA KEV

KEV coverage does not rule out exploitation.

KEV checked 28/11/2026, 23:20:32 UTC
mongodb · CVSS:4.0 · 5.7
Assessment vectorCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
mongodb · CVSS:3.1 · 5.5
Assessment vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
The headline uses the highest imported catalog score. Assessments can differ by source and CVSS version.

Severity

medium5.7

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

Not listed in the checked CISA KEV catalog

Absence from CISA KEV does not rule out attacks.

Public exploit

Exploit reference published

Source-linked evidence; not proof of attacks in the wild or independent validation.

Remediation

Fix status not established

No structured fix or guidance is available here. Check the latest publisher advisory.

What this means

The MongoDB Ruby Driver's connection string parser may expose sensitive information in error messages, potentially allowing an attacker with access to the application's error output or logs to obtain database credentials. This affects version 2.0.3. The weakness occurs within the application process and requires no database authentication.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Attack conditions

The condition arises entirely within the embedding application process and requires no database authentication.

Excerpt from the original source description below.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

MongoDB · mongodb

Ruby Driver

1 range

Compare with this publisher’s ranges. This does not inspect your installation.

affected

2.0.3 → before 2.26.2

semver versions

unaffected

unknown

Other versions: unaffected

Automatic dependency matching is unavailable for this record. Use the product evidence and publisher’s instructions to check your installation.

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

The sources identify public exploit references. We have not independently tested them; their availability does not establish exploitation in the wild.

jira.mongodb.org/browse/RUBY-3939 ↗Attributed to CISA-ADP

Original source description

Read the full publisher 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.

References

1 sources

Inside the record

Evidence available

Package identity · not supplied
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-135225

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-209 ↗

CWE-209: Generation of Error Message Containing Sensitive Information

mongodb

Related →
Contributing organizations · 2
mongodb

Assigning organization

2026-11-25
CISA-ADP

Additional data publisher

2026-11-25

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Source updated

    Latest modification date supplied by the source.

  3. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
  1. CVE · CVE-2026-135225

    Observed 2026-11-25T19:14:35.422Z · upstream updated 2026-11-25T18:59:48.550Z

    Prioritization updated

    before

    []

    after

    [
      {
        "source": "CISA-ADP",
        "type": "SSVC",
        "role": "CISA Coordinator",
        "timestamp": "2026-11-25T18:59:40.760451Z",
        "decisions": [
          {
            "name": "Exploitation",
            "value": "poc"
          },
          {
            "name": "Automatable",
            "value": "no"
          },
          {
            "name": "Technical Impact",
            "value": "partial"
          }
        ]
      }
    ]

Large field values are marked as truncated previews. Original source snapshots remain retained.

Showing up to 50 most recent observed changes.

Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.

high7.1
CVE-2026-135135

Cleartext storage of encrypted embedded fields that use store_as in Mongoid

Mongoid builds an incomplete automatic encryption schema for certain embedded document associations. As a result, values that the application declared as encrypted may be written to the database in cleartext, with no error or warning returned to the application. A party holding only basic read privileges on the affected collection, and no access to the encryption keys, may then obtain those values in readable form.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

MongoDB · Ruby Driver
medium6.5
CVE-2026-135138

Improper restriction of read-only attributes with dotted keys in Mongoid

Mongoid does not consistently apply its read-only attribute protection when attribute names are supplied dynamically by the caller. In an application that forwards caller-supplied attribute names into a document update, a user with basic application privileges may change values held inside a field the model declared immutable. This may result in unintended modification of data the application treats as trusted, such as flags used for its own access decisions.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

MongoDB · Ruby Driver
medium6.5
CVE-2026-135139

Incorrect authorization in has_many delete_all in Mongoid

Mongoid contains an incorrect authorization weakness in the handling of caller-supplied filters for bulk removal through a referenced association. Conditions already attached to the association can take precedence over the filter the caller supplied, so records the caller did not select may be removed. A user with basic privileges in an application built on the library may cause unintended removal of records belonging to the same parent record.

No structured fix or guidance is available here. Check the latest publisher advisory.

Public exploit reference

MongoDB · Ruby Driver
medium5.3
CVE-2026-135140

Cleartext storage of encrypted foreign key fields in Mongoid

Mongoid 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. The value is then stored in readable form instead of encrypted, and the application receives no indication that this has happened. A party with ordinary authenticated read access to the affected collection may be able to view data that was intended to be protected.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

MongoDB · Ruby Driver
high8.6
CVE-2026-135141

Incorrect authorization from a discarded default scope in Mongoid

A 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 into a query. A user with basic application privileges who sends an ordinary request may read, change, or remove records that the restriction was intended to withhold.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

MongoDB · Ruby Driver
high8.7
CVE-2026-135226

Type confusion in DBPointer handling in BSON Ruby Extended JSON parsing

A type-confusion weakness in the Extended JSON parsing component of BSON for Ruby allows a party who can supply parser input to influence how a serialized document is framed. Content placed in one value may be read back as additional or replacement document fields. An unauthenticated party supplying input to an application that parses untrusted Extended JSON and stores the result may cause unintended modification of stored data.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

MongoDB · Ruby Driver