Vulnerability DatabaseCVE-2026-129935

CVE-2026-129935: 
Grafana vulnerability analysis and mitigation

Overview

CVE-2026-129935 is a NUL character injection vulnerability in the MongoDB Go Driver affecting its SASL PLAIN authentication message construction. The driver fails to neutralize NUL (null byte) characters embedded in username or password values, allowing an attacker who controls login credentials passed to the driver to manipulate field boundaries within the SASL PLAIN message. This can cause the receiving authentication system to interpret a different username or secret than what the application intended. Affected products include go.mongodb.org/mongo-driver (v1.x, all versions from 1.0.0) and go.mongodb.org/mongo-driver/v2 (versions 2.0.0 through 2.10.0). It carries a CVSS v3.1 base score of 3.7 (Low) and a CVSS v4.0 base score of 6.3 (Medium) (Feedly, EUVD).

Technical details

The root cause is classified as CWE-158 (Improper Neutralization of Null Byte or NUL Character). SASL PLAIN authentication encodes credentials as a null-byte-delimited string in the format \0username\0password; because the MongoDB Go Driver does not strip or reject embedded NUL characters in user-supplied username or password strings, an attacker who controls those values can inject additional NUL bytes to shift field boundaries within the constructed message. This maps to CAPEC-52 (Embedding NULL Bytes) and CAPEC-53 (Postfix, Null Terminate, and Backslash). Exploitation requires the attacker to control the login values supplied to the driver and the deployment to use SASL PLAIN authentication; no network-level unauthenticated access to the driver internals is required beyond influencing the application's credential inputs (Feedly, MongoDB JIRA).

Impact

Successful exploitation can cause the MongoDB server to authenticate a request under a different account name than the application intended, potentially granting access to data or operations associated with that alternate account. However, the attacker must still supply the correct password for the target account, significantly limiting the practical impact. There is no confidentiality or availability impact assessed; the integrity impact is rated Low and is scoped to the vulnerable system only (Feedly).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported for this vulnerability. The EPSS score is 0.0, and NVD's SSVC assessment classifies exploitation as "none" and the vulnerability as not automatable. It is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires high attack complexity, including the ability to control credential values passed to the driver and knowledge of the target account's password (Feedly, EUVD).

Exploitation steps

  1. Identify target: Confirm the target application uses the MongoDB Go Driver with SASL PLAIN authentication (e.g., LDAP-backed MongoDB deployments).
  2. Gain control of credentials: Find an application input path where an attacker can influence the username or password values passed to the MongoDB Go Driver (e.g., a multi-tenant application that uses user-supplied identifiers as part of MongoDB credentials).
  3. Craft NUL-injected payload: Construct a username or password string containing embedded NUL bytes (e.g., legituser\x00targetuser) to shift the field boundaries in the SASL PLAIN message (\0username\0password).
  4. Trigger authentication: Cause the application to authenticate to MongoDB using the crafted credential, resulting in the server parsing a different username or password segment than intended.
  5. Achieve account impersonation: If the injected field boundaries align with a valid account and the attacker knows that account's password, the server may authenticate the session as the alternate account (Feedly, MongoDB JIRA).

Indicators of compromise

  • Logs: MongoDB authentication logs showing successful logins under unexpected usernames from application service accounts; mismatches between application-layer audit logs (recording the intended username) and MongoDB server logs (recording the authenticated username).
  • Network: SASL PLAIN authentication messages containing unexpected NUL bytes in the credential fields, detectable via deep packet inspection on unencrypted MongoDB connections.
  • Application: Unexpected authorization errors or access patterns in MongoDB where a service account appears to authenticate as a different user than configured.

Mitigation and workarounds

MongoDB has released a fix in go.mongodb.org/mongo-driver/v2 version 2.10.1; users of the v2 module should upgrade to this version or later. For the v1 module (go.mongodb.org/mongo-driver), all versions from 1.0.0 onward are listed as affected with no upper bound fix indicated — users should migrate to the v2 module and upgrade to 2.10.1. As a workaround, deployments should avoid using SASL PLAIN authentication where possible, or ensure that application logic strictly validates and sanitizes credential inputs to reject any values containing NUL characters before passing them to the driver (Feedly, MongoDB JIRA).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

golang-mongodb-mongo-driver

Affected

sid

golang-mongodb-mongo-driver

Affected

trixie

golang-mongodb-mongo-driver

Affected

Ubuntu

Unknown

devel

golang-mongodb-mongo-driver

Unknown

noble

golang-mongodb-mongo-driver

Unknown

noble (esm-apps)

golang-mongodb-mongo-driver

Unknown

resolute

golang-mongodb-mongo-driver

Unknown

resolute (esm-apps)

golang-mongodb-mongo-driver

Unknown

RHEL / CentOS

Affected

OpenShift

cri-o.src

Affected

RHEL 8

container-tools:rhel8/buildah.src

Affected

RHEL 9

buildah.src

Affected

RHEL 10

buildah.src

Affected

Source: This report was generated using AI

Related Grafana vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-134815CRITICAL9.2
  • Grafana logoGrafana
  • grafana-opentsdb
NoNoNov 22, 2026
CVE-2026-129935MEDIUM6.3
  • Grafana logoGrafana
  • container-tools:rhel8::skopeo.src
NoNoNov 19, 2026
CVE-2026-129934MEDIUM5.7
  • Grafana logoGrafana
  • container-tools:rhel8::podman-tests
NoNoNov 19, 2026
CVE-2026-133937MEDIUM5.5
  • Grafana logoGrafana
  • grafana.src
NoNoNov 20, 2026
CVE-2026-133487LOW2.1
  • Grafana logoGrafana
  • nodejs:26::nodejs-nodemon
NoYesNov 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management