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.