Skip to main content

MongoDB Go Driver EUVDEUVD-2026-130679

| CVE-2026-129935 MEDIUM
Improper Neutralization of Null Byte or NUL Character (CWE-158)
2026-11-19 mongodb GHSA-4r9j-hjvg-qm62
6.3
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Control credential values passed to driver
  2. Exploit
    Inject NUL byte into SASL PLAIN username/password
  3. Execution
    Shift message field boundaries
  4. Impact
    Server parses altered login identity

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Metacharacter neutralization
Exploitation Conditions

Exploitation requires the deployment to use the SASL PLAIN authentication mechanism - the description states only SASL PLAIN deployments are affected, so any other auth mechanism is immune. The attacker must also be able to choose or influence the username or password values that the application passes to the MongoDB Go Driver (e.g., credentials relayed from untrusted/user-controlled input). A key limiting factor stated in the source is that authenticating as a different account still requires that account's actual password, so this is field-boundary manipulation of the SASL PLAIN message rather than a credential or authentication bypass. AC:H and AT:P in the vendor vector reflect these non-default prerequisites.

Impact

This is a moderate-severity, low-urgency issue rather than a top priority. The vendor CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 6.3 and critically caps impact at VC:N/VI:L/VA:N - no confidentiality or availability impact and only LOW integrity impact - reflecting that the flaw lets an attacker shift SASL PLAIN message field boundaries but does not by itself grant access, since the description explicitly notes that authenticating as a different account still requires that account's password. AC:H and AT:P signal that exploitation is not straightforward: it requires both a specific deployment (SASL PLAIN) and attacker control over the login values the application forwards. No EPSS score, KEV listing, or SSVC exploitation data was supplied in the input, and no public exploit is referenced - the only reference is a MongoDB Jira advisory (GODRIVER-4120). The vuln.today priority is 'this_month,' consistent with a real but non-emergency defect. The main signal worth noting is the tension between the 'Information Disclosure' tag and the vendor's own VC:N (no confidentiality impact) rating, which points instead to an authentication-identity/integrity issue; treat the disclosure framing with caution.

Exploit ScenarioDerived

An application using the MongoDB Go Driver with SASL PLAIN authentication passes externally-influenced username or password values (for example, credentials proxied from an upstream source) to the driver. An attacker who controls those values embeds a NUL character so that the receiving authentication system parses a login name and secret that differ from what the application supplied, causing the server to interpret a different account identity. No public exploit code is identified at time of analysis, and completing authentication as a different account still requires that account's valid password.

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

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

Alert me

AnalysisAIv1 – Nov 19, 2026

NUL-byte injection into the SASL PLAIN authentication message built by the MongoDB Go Driver lets a party who can choose the login values an application passes to the driver shift the boundary between the username and password fields, so a receiving system may read a login name and secret that differ from what the application supplied. Only deployments that authenticate with SASL PLAIN are exposed; other mechanisms are outside the flaw, and authenticating as a different account still requires that account's actual password, so this is field-boundary manipulation rather than a credential or authentication bypass. The vendor rates it 6.3 (CVSS 4.0, AV:N/AC:H/AT:P/PR:N/UI:N, integrity-only), our independent assessment concurs with a moderate, low-urgency, integrity-only rating, and no public exploit has been identified at time of analysis.

RemediationAI

No released patched driver version is identified in the supplied data; the fix is tracked in the vendor issue GODRIVER-4120 (https://jira.mongodb.org/browse/GODRIVER-4120), which should be consulted for the corrected release on each maintained branch before upgrading, and the driver should be upgraded as soon as a fixed version is published for the branch in use. Until then, the most direct compensating control follows from the vendor's own scoping statement that only SASL PLAIN deployments are affected: move the connection to a different authentication mechanism, such as SCRAM-SHA-256, which the Go Driver uses by default, accepting the trade-off that every user must be provisioned for that mechanism on the server and that any peer which only offers PLAIN will lose connectivity. If SASL PLAIN must be retained, treat the credential values as untrusted input: reject or strip NUL bytes from usernames and passwords before populating credential.Credential or the connection string, and avoid relaying attacker-influenced strings directly into driver credentials, with the trade-off that this only closes the paths where the application itself controls and validates those values and will refuse any legitimate secret containing a NUL byte.

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 affected component is the official MongoDB Go Driver (mongo-driver), which implements the client side of MongoDB authentication. SASL PLAIN (RFC 4616) is a simple username/password mechanism whose client response is a single message with three NUL-delimited fields: an optional authorization identity, the authentication identity, and the password. Because the NUL byte is the field separator, any NUL that survives inside a username or password can be interpreted as a delimiter, which is exactly the defect class described by CWE-158 (Improper Neutralization of Null Byte or NUL Character): the driver does not neutralize NUL characters in the user name and password values it places into the message, so a party able to choose those values can alter where the message's fields begin and end. The CPE entries for cpe:2.3:a:mongodb:go_driver use wildcard versions, so the supplied data does not pin the affected version range or the release that carries the fix; the vendor's tracking issue is GODRIVER-4120. Per the vendor, scope is limited to SASL PLAIN deployments, and the impact is a mismatch between the identity the application intended and the identity the server parses, with the practical ceiling set by the fact that the substituted account's password is still required. The sources do not describe any further trigger mechanics beyond the requirement that the attacker influence the credential values the application hands to the driver.

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.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

Attacker supplies unauthenticated input (PR:N) but needs SASL PLAIN plus control of login values, so AC:H; impact is limited to altering parsed identity fields (I:L) with no C or A impact.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
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 does not neutralize NUL characters in the user name and password values it places into the message it builds for SASL PLAIN authentication. A party who can choose the login values that an application passes to the driver can alter where the fields of that message begin and end. This may result in a receiving system reading a login name and secret that differ from the values the application supplied. Authenticating as a different account still requires that account's password. Only deployments that use SASL PLAIN authentication are affected.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
widely-used Go/MongoDB client library, but only SASL PLAIN configs affected
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.2%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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