Sensitive information in error messages from MongoDB Ruby Driver
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-209.
Summary
The MongoDB Ruby Driver from 2.0.3 before 2.26.2 is affected. Its connection string parser can place credential material from the application's configuration into parsing error messages, where the existing redaction does not apply. A local user with low privileges who can read the application's error output or logs can obtain database credential text along with deployment details, and no database authentication is needed.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade MongoDB Ruby Driver to version 2.26.2.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA Ruby Driver (MongoDB) Fixed in 2.26.2
Timeline
- 2026-11-25 Threatist record created from CVE-2026-135225
- 2026-11-25 Alias added: GHSA-5c8v-f98c-2whp
- 2026-11-25 CISA SSVC decision points changed
References
More MongoDB vulnerabilities
- TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
- TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-135225 · CVE Program
- CVE-2026-135225 · NVD
- FIRST EPSS
- GHSA-5c8v-f98c-2whp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences