Skip to main content

MongoDB Go Driver CVE-2026-129934

| EUVDEUVD-2026-130680 MEDIUM
Error Message Information Leak (CWE-209)
2026-11-19 mongodb GHSA-54xf-g24w-wfvg
5.7
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privileged read access to logs/output
  2. Exploit
    Locate MongoDB driver connection-parse error
  3. Execution
    Read raw undecoded query-option value
  4. Impact
    Extract embedded TLS password or AWS token

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

All of the following must hold: (1) the application supplies a sensitive value - specifically a TLS key-file password or an AWS session token, per the description - inside a MongoDB connection-string query option; (2) that value contains an invalid percent-encoding, which is the exact trigger that makes the parser embed the raw, undecoded value in its returned error; and (3) the resulting error is recorded or displayed somewhere a party with low-privileged read access can see it. Limiting factors: the vector is local (AV:L) and requires low privileges (PR:L) plus the attack requirement (AT:P) that the error actually reaches readable output; connection strings with no secrets, or secrets without invalid percent-encodings, or errors that are never logged/displayed are not exposed. There is no remote unauthenticated path and no integrity or availability impact.

Impact

This is a genuine but modest-severity information-disclosure issue (CWE-209), not a critical priority. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:N/VC:H) scores 5.7 (Medium) and tells a consistent story: local vector, an attack requirement (AT:P) that depends on the error actually being recorded/displayed somewhere, low-privileged access needed (PR:L), and high confidentiality impact with no integrity or availability effect - which matches a secret leaking into an error message. No EPSS score was provided, the CVE is NOT on CISA KEV, and no confirmed proof-of-concept or exploit code is present; the only reference is a MongoDB Jira tracking ticket (GODRIVER-4110), which is a vendor bug record, not working exploit code. The vuln.today decision label is 'this_month' (routine remediation), not act_now or emergency, consistent with the medium score and absence of exploitation signals. The real-world risk is bounded by preconditions rather than attacker skill: the secret only leaks if it was passed in a connection-string query option, that value contains an invalid percent-encoding, and the resulting error reaches a log or display readable by a lower-privileged party. No signals conflict here; the main uncertainty is missing fixed-version data and the absence of EPSS, so exploitation likelihood cannot be quantified from the input.

Exploit ScenarioDerived

An application embeds a secret (e.g., a TLS private-key file password or an AWS session token) in a MongoDB connection-string query option, and that value contains an invalid percent-encoding, so the Go driver's parser returns an error containing the raw, undecoded value. The error is written to application logs or an error page, and a low-privileged user with read access to those logs retrieves the plaintext secret. No public exploit or PoC code was identified at time of analysis; exploitation is opportunistic reading of exposed error output rather than an active attack technique.

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

Sensitive connection-string secrets - specifically a TLS key-file password or an AWS session token - can end up in plain text inside an error returned by the MongoDB Go driver's connection string parser when the option's value contains an invalid percent-encoding. The flaw is CWE-209 (generation of error messages containing sensitive information), so exposure requires that the resulting error is actually recorded or displayed where a low-privileged party can read it; the supplied vector is local (AV:L), requires low privileges (PR:L), and carries an attack requirement (AT:P) that the error reach readable output. Impact is confidentiality-only, with no integrity or availability effect, and there is no remote unauthenticated path - no public exploit code and no confirmed active exploitation are identified at time of analysis.

RemediationAI

Remediation status is not fully resolved by the supplied data: the only vendor reference is MongoDB JIRA GODRIVER-4110 (https://jira.mongodb.org/browse/GODRIVER-4110), and no exact fixed driver version is stated, so the primary action is to track that issue and upgrade to the driver release that carries its fix once identified - confirm the version against the JIRA record before treating the exposure as closed. As compensating controls, remove the trigger rather than waiting on the patch: stop passing secrets through connection-string query options and supply them programmatically through the driver's client options (for example by setting the TLS key-file password or AWS credentials in configuration objects instead of the URI), which keeps the raw value out of the parser entirely - the trade-off is application code and secret-management changes plus the need to keep credentials out of source control. In parallel, sanitize or filter driver parse errors before they are written to application logs, error trackers, or user-facing output, and restrict read access to those sinks; the trade-off is that aggressive scrubbing can remove diagnostic detail needed for troubleshooting connection failures. Note that these are mitigation steps, not substitutes for the vendor fix.

Affected VersionsENISA

GO Driver 2.0.0 <2.10.1
GO Driver 1.0.0 <*

Affected Packages

euvd go_driver fix: 2.10.1

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 Go driver accepts connection strings whose query portion can carry options such as a TLS key-file password or an AWS session token. Those option values are percent-encoded in the URI, and the parser validates the encoding; when a value contains an invalid percent-encoding, the returned error embeds the raw, undecoded value rather than a sanitized or re-encoded form. That is the classic CWE-209 pattern: the failure path leaks the input it was handling into a diagnostic message. The trigger described in the available sources is specifically the invalid percent-encoding of a secret-bearing query option combined with the error being placed somewhere readable. Applications whose connection strings carry no secrets, whose secrets are not malformed, or whose parser errors are never logged or displayed are not exposed. The CPE designation covers mongodb:go_driver with unenumerated versions, so the exact affected and fixed release boundaries are not established by the supplied data; MongoDB tracks the issue under JIRA GODRIVER-4110. Per the independent assessment the realistic vector is AV:L/AC:H/PR:L/UI:N with high confidentiality impact and no integrity or availability impact, which is lower than a naive reading of the 5.7 base score might suggest.

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 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
vuln.today AI 4.7 MEDIUM

Local disclosure readable only by a low-privileged party (AV:L, PR:L); AC:H maps the 4.0 AT:P requirement that the error be logged/displayed; confidentiality-only impact so I:N/A:N.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
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 Go driver's connection string parser includes the raw, undecoded value of a query option in the error it returns when that value contains invalid percent encodings. When the option holds a secret, such as a TLS key file password or an AWS session token, the secret appears in plain text in the error. A party with low-privileged read access to wherever the application records or displays that error may learn the secret.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
official MongoDB Go driver, popular library but Go- and MongoDB-specific, not universal
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

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

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

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

Vendor StatusVendor

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