CVE-2026-129926
Received Received - Intake

MongoDB Python Driver SASL PLAIN Authentication NUL Character Injection

Vulnerability report for CVE-2026-129926, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-19

Last updated on: 2026-11-19

Assigner: MongoDB, Inc.

Description

The MongoDB Python 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-19
Last Modified
2026-11-19
Generated
2026-11-20
AI Q&A
2026-11-20
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
MongoDB Python Driver From 2.6 (inc) to 4.20.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-158 The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes NUL characters or null bytes when they are sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The MongoDB Python Driver fails to remove NUL characters from usernames and passwords during SASL PLAIN authentication. This allows attackers to manipulate the message structure, potentially altering the login credentials sent to the server. Only systems using SASL PLAIN authentication are affected.

Impact Analysis

An attacker could trick the system into authenticating as a different user, though they would still need the target account's password. This could lead to unauthorized access or privilege escalation in affected deployments.

Mitigation Strategies

Disable SASL PLAIN authentication in MongoDB deployments using the Python Driver until a patch is applied. Review authentication logs for unusual login attempts or failed authentications that may indicate exploitation attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-129926. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...