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

Published Updated

Anyone reading application error output or logs can obtain database credentials and deployment coordinates from MongoDB Ruby Driver connection string parsing.

CVSS score

Medium

5.7/10

CVSS 4.0 · Scored by Mongodb Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Local or same network
Any signed-in user, no user action

What is CVE-2026-135225?

CVE-2026-135225 is a medium-severity information disclosure vulnerability in MongoDB Ruby Driver, published on 25 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-209

How severe is CVE-2026-135225?

CVE-2026-135225 scores 5.7 out of 10 under CVSS 4.0, which is medium severity. It was scored by Mongodb.

Attack vector
Local
Attack complexity
Low
Attack requirements
Present
Privileges required
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None

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

Which versions are affected by CVE-2026-135225?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-135225?

No fix has been published for CVE-2026-135225 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate any secrets that may have been exposed. More about Information disclosure.

Is CVE-2026-135225 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-135225 exists.

Sources

Also known as GHSA-5c8v-f98c-2whp, UBUNTU-CVE-2026-135225.

Is CVE-2026-135225 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free