Skip to main content

MongoDB Ruby Driver EUVDEUVD-2026-130682

| CVE-2026-129924 MEDIUM
Error Message Information Leak (CWE-209)
2026-11-19 mongodb GHSA-gf25-mgjq-4vj3
6.8
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access application error output or logs
  2. Delivery
    Malformed connection string triggers parse failure
  3. Exploit
    Driver raises error with unmasked connection string
  4. Execution
    Secret disclosed in cleartext
  5. Impact
    Reuse credential for MongoDB access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message sanitization
MITRE ATT&CK

1 technique across 1 tactic: Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two concrete conditions must hold: (1) the application passes the MongoDB Ruby driver a connection string that fails to parse AND that string contains a secret (such as embedded username/password credentials), and (2) the resulting parse-error message is routed somewhere an unauthorized party can read it - application error output, an exposed stack trace, or log files. Exploitation is limited by the fact that the attacker does not control the trigger remotely over the network (AV:L) and must have a means to read the application's error output or logs; if secrets are supplied out-of-band (not inside the connection string) or error output is not exposed to untrusted readers, disclosure does not occur. The exact trigger for the parse failure is not described in the available sources.

Impact

This is a real but moderate-severity information-disclosure issue (CWE-209) rather than an urgent priority. The vendor-supplied CVSS 4.0 vector (CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N, 6.8) describes a local, low-complexity, low-privilege path to high confidentiality impact with no integrity or availability impact - consistent with a secret leaking into error output rather than remote code execution. No EPSS score is provided, the CVE is not listed in CISA KEV, and the only reference is a MongoDB Jira ticket (RUBY-3950), not verified exploit code; so there is no public exploit identified at time of analysis and no confirmed active exploitation. The vuln.today decision label is 'this_month,' which aligns with a patch-on-normal-cadence posture, not an emergency. Note a nuance: the description says 'No privileges on the driver and no network access are needed to produce the error,' yet the CVSS vector carries PR:L - the vector's PR:L most plausibly reflects the secondary access needed to read the application's error output/logs rather than privileges to trigger the parse error; verify this interpretation with MongoDB. The practical risk is bounded by exposure of application error output to an unauthorized reader.

Exploit ScenarioDerived

An application using the MongoDB Ruby driver is given a malformed connection string that embeds credentials; the driver raises a parse error that includes the unmasked connection string, and that error is written to logs or returned in error output. A party able to read those logs or error responses - for example a log aggregator user, a support operator, or someone viewing a stack trace surfaced in an HTTP 500 page - recovers the embedded secret in cleartext. No public exploit code is identified; the only reference is the vendor Jira ticket.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

Information disclosure in the MongoDB Ruby Driver can expose secrets embedded in a MongoDB connection string when the string fails to parse and the resulting error is written to application output or logs. The issue is local in nature: the attacker does not control the trigger over the network and must be able to read the application's error output; disclosure only occurs if the connection string carries a secret and error details reach an untrusted reader. No public exploit was identified in the available intelligence, and the vendor reference is a MongoDB JIRA issue.

RemediationAI

No vendor-released patch or fixed version is identified in the available data; track MongoDB JIRA RUBY-3950 at https://jira.mongodb.org/browse/RUBY-3950 for a fix and upgrade the driver once a patched version is published. In the meantime, avoid embedding credentials or other secrets in MongoDB connection strings and supply them out-of-band through environment variables or a credential provider, which removes the secret from the parse-error path but requires application configuration changes. Additionally, catch connection-string parsing errors and redact or suppress the original URI before logging or returning the error, and prevent stack traces and error output from reaching untrusted readers; these controls reduce exposure but require code changes and can limit debugging visibility.

Affected VersionsENISA

Ruby Driver 2.0.3 <2.26.2

Affected Packages

euvd ruby_driver fix: 2.26.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The MongoDB Ruby Driver constructs and parses MongoDB connection URIs used by Ruby applications. CWE-209 (Generation of Error Message Containing Sensitive Information) is the root cause: when URI parsing fails, the driver raises an error that can include the original, unmasked connection-string content rather than a redacted form. Because connection strings may embed usernames, passwords, or other credentials, anyone who can read the error output or logs can recover those secrets. The CPE entry cpe:2.3:a:mongodb:ruby_driver:*:*:*:*:*:*:*:* does not constrain a version, and the available data does not enumerate specific affected releases. The exact condition that causes parsing to fail is not described in the available sources, and no network access is required to produce the error.

Know when MongoDB gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mongodb) PRIMARY 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Secret is exposed only through local error output/logs requiring reader access (AV:L, PR:L); high confidentiality impact, no integrity or availability impact, scope unchanged.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 19, 2026 - 21:19 EUVD

DescriptionCVE.org

The MongoDB Ruby driver can include unmasked connection string content in the error it raises when a connection string cannot be parsed. If that connection string carries a secret, the secret may be disclosed in cleartext through the application's error output or logs. No privileges on the driver and no network access are needed to produce the error; a party able to read the application's error output may obtain the secret.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
official MongoDB driver for Ruby, common but language- and stack-specific
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy