A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-9751

CVE-2026-9751: MongoDB Password Disclosure Vulnerability

CVE-2026-9751 is an information disclosure vulnerability in MongoDB where ldapQueryPassword is logged in plain text to mongod.log. This post covers the technical details, affected versions, impact, and mitigation.

Published: June 11, 2026

CVE-2026-9751 Overview

CVE-2026-9751 is an information disclosure vulnerability in MongoDB. When an administrator updates the ldapQueryPassword parameter at runtime through the setParameter command, the server writes the new password value to the mongod.log file in plain text. The flaw is classified under CWE-532: Insertion of Sensitive Information into Log File. Local actors with read access to the log file can recover the LDAP bind credential and use it to authenticate to the directory service.

Critical Impact

Plaintext LDAP credentials persisted in mongod.log give any user or process with log-read access the ability to compromise the directory bind account.

Affected Products

  • MongoDB Server (tracked under MongoDB SERVER-123370)
  • Deployments using LDAP authentication or authorization with ldapQueryPassword
  • Configurations where ldapQueryPassword is updated via the runtime setParameter command

Discovery Timeline

  • 2026-06-09 - CVE-2026-9751 published to NVD
  • 2026-06-10 - Last updated in NVD database

Technical Details for CVE-2026-9751

Vulnerability Analysis

MongoDB exposes the ldapQueryPassword server parameter to configure the bind password used when querying an LDAP directory for authentication or authorization data. Operators may update this parameter at runtime using the db.adminCommand({ setParameter: 1, ldapQueryPassword: "<value>" }) command without restarting the server. The runtime mutation path emits an audit-style log entry that includes the new parameter value. Because MongoDB does not redact secret parameters in this code path, the credential appears verbatim in mongod.log.

The attack is local in nature. An adversary needs read access to the log file, which is commonly granted to operators, log shippers, backup processes, or SIEM forwarders. Once captured, the LDAP bind credential allows the attacker to query or modify the directory subject to the bound account's permissions.

Root Cause

The root cause is missing sensitive-parameter handling in the runtime setParameter logging code path. Parameters known to hold secrets should be masked before serialization to the log sink. Tracking and remediation details are maintained in the MongoDB Issue Tracker entry SERVER-123370.

Attack Vector

Exploitation requires local access and low privileges. A user able to read mongod.log, including through log aggregation pipelines, can extract the LDAP bind password. No user interaction is required, and the exposure persists for the lifetime of the log file and its backups. The vulnerability does not affect integrity or availability of MongoDB data directly but provides credential material that may enable lateral movement against the LDAP infrastructure.

Detection Methods for CVE-2026-9751

Indicators of Compromise

  • Entries in mongod.log containing the string ldapQueryPassword accompanied by a non-redacted value
  • Audit records showing setParameter commands targeting ldapQueryPassword issued against the admin database
  • Access to mongod.log by accounts or processes outside the expected operator and log-forwarding set

Detection Strategies

  • Search historical and current mongod.log files for occurrences of ldapQueryPassword and treat any matches with cleartext values as exposed credentials.
  • Correlate MongoDB audit logs for setParameter invocations changing ldapQueryPassword against the user and source IP that issued the command.
  • Add file integrity and access monitoring on mongod.log paths and on any downstream log aggregation storage that may contain copies.

Monitoring Recommendations

  • Forward MongoDB logs to a centralized analytics platform and alert on the literal token ldapQueryPassword appearing in log content.
  • Review SIEM ingestion pipelines and storage to determine whether prior log batches already contain the exposed value, and purge or rotate as required.
  • Monitor the LDAP bind account for anomalous authentication activity, including source addresses outside the MongoDB host range.

How to Mitigate CVE-2026-9751

Immediate Actions Required

  • Rotate the LDAP bind password used by ldapQueryPassword on every MongoDB node that received a runtime update of this parameter.
  • Purge or restrict access to mongod.log files and archived copies that contain the cleartext value, including SIEM and backup tiers.
  • Restrict the setParameter privilege to a minimal set of administrative accounts and audit recent uses against ldapQueryPassword.

Patch Information

Monitor the MongoDB Issue Tracker entry SERVER-123370 for the fixed server versions. Apply the vendor-supplied build to all replica set members and mongos routers once available, and validate that mongod.log no longer records the parameter value after a runtime change.

Workarounds

  • Set ldapQueryPassword exclusively through the configuration file or the --setParameter startup option rather than at runtime, so the value is not written to the log.
  • Tighten filesystem permissions on mongod.log to the mongod service account only and ensure log shippers run with read-only access via a dedicated, audited identity.
  • Review and sanitize existing log archives, then enforce log retention policies that minimize the window during which exposed credentials could be retrieved.
bash
# Configuration example: set ldapQueryPassword via config file instead of runtime setParameter
# /etc/mongod.conf
setParameter:
  ldapQueryUser: "cn=mongo-bind,ou=service,dc=example,dc=com"
  ldapQueryPassword: "<rotated-secret>"

# Restrict log file permissions
chown mongod:mongod /var/log/mongodb/mongod.log
chmod 600 /var/log/mongodb/mongod.log

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechMongodb

  • SeverityMEDIUM

  • CVSS Score6.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-532
  • Technical References
  • MongoDB Issue Tracker Entry
  • Related CVEs
  • CVE-2026-9735: MongoDB Information Disclosure Vulnerability

  • CVE-2026-8200: MongoDB Server Information Disclosure Flaw

  • CVE-2026-6231: MongoDB C Driver Validation Bypass Flaw

  • CVE-2025-14847: MongoDB Information Disclosure Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English