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

- Severity: Medium 5.7 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-25T17:52:07.427Z
- Modified: 2026-11-25T20:15:25.900Z
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mongodb

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

(As written by CVE List.)

## Affected

- MongoDB Ruby Driver: from 2.0.3 before 2.26.2

## Every score

- mongodb: CVSS:4.0 5.7 Medium `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`
- mongodb: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://jira.mongodb.org/browse/RUBY-3939> (exploit)

## Sources

- CVE List: [CVE-2026-135225](https://www.cve.org/CVERecord?id=CVE-2026-135225), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-135225](https://nvd.nist.gov/vuln/detail/CVE-2026-135225), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-135225 · Whole record: https://cve.day/CVE-2026-135225.json · Rebuilt by cve.day 2026-11-25T23:18:31.564Z
