Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess application error output or logs
-
DeliveryMalformed connection string triggers parse failure
-
ExploitDriver raises error with unmasked connection string
-
ExecutionSecret disclosed in cleartext
-
ImpactReuse 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
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
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
EUVD-2026-130682
GHSA-gf25-mgjq-4vj3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB