Skip to main content

MongoDB Server EUVDEUVD-2026-47791

| CVE-2026-13070 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-07-22 cna@mongodb.com
6.0
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    MongoDB initiates outbound TLS connection
  2. Delivery
    Attacker intercepts or impersonates trusted TLS peer
  3. Exploit
    Malformed OCSP stapling response injected during handshake
  4. Execution
    Null pointer dereference triggered in OCSP parser
  5. Persist
    MongoDB process terminates abnormally
  6. Impact
    Database availability lost

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two simultaneous conditions. First, the MongoDB server must be actively initiating an outbound TLS connection - this occurs during inter-node cluster communication, replication, sharding operations, or connections to TLS-enabled external services; OCSP stapling validation fires by default on these connections with no non-default configuration flag needed. Second, the attacker must satisfy one of two trust or positioning conditions: (a) the remote peer holds a TLS certificate issued by the same certificate authority trusted by the MongoDB cluster, enabling a seemingly legitimate peer to deliver a malformed OCSP response without triggering prior cert-chain rejection, or (b) the connection traverses an untrusted network path where an adversary can intercept and substitute the OCSP response mid-handshake. Exploitation is bounded by the adjacent-network attack vector (AV:A) - a fully internet-exposed, remote unauthenticated scenario is not supported by the available data. MongoDB deployments where all outbound TLS paths are confined to fully trusted, internally controlled networks with strict CA issuance policies have substantially reduced exposure, and the impact is limited to availability only with no confidentiality or integrity compromise possible through this vector.

Impact

The CVSS 4.0 score of 6.0 with vector AV:A/AC:L/AT:P/PR:N/UI:N/VA:H accurately characterizes a network-adjacent, precondition-gated denial-of-service with no confidentiality or integrity compromise. The AT:P modifier is significant: it reflects that the attacker must satisfy one of two trust conditions before the crash is triggerable, meaningfully constraining opportunistic exploitation. No EPSS data was provided, preventing probabilistic exploitation comparison; however, the absence of a KEV entry and any public proof-of-concept suggests no observed active exploitation at time of writing. Real-world risk is moderate-to-elevated for MongoDB deployments that initiate outbound TLS connections across peered cloud networks, cross-datacenter replication paths, or connections to third-party TLS services - contexts where network adjacency from an adversary is plausible. Environments where all outbound TLS paths are confined to fully air-gapped or internally controlled networks, and where the cluster CA issues certificates only to known, trusted hosts, face substantially lower practical risk. The default-enabled nature of OCSP stapling is the key risk amplifier; many operators will not know to evaluate this feature.

Exploit ScenarioDerived

An attacker with network adjacency to a MongoDB node - for example, through a shared cloud VPC peering segment or cross-datacenter replication path - positions as a TLS peer or intercepts an existing outbound connection MongoDB is establishing. During the TLS handshake, the attacker injects or returns a malformed OCSP stapling response; MongoDB's parser encounters a null pointer and the server process crashes. No public proof-of-concept code exists at time of analysis, but the crash is deterministic once a properly malformed OCSP payload is delivered to a vulnerable instance.

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 – Jul 22, 2026

MongoDB Server terminates abnormally during outbound TLS handshake when a remote peer delivers a malformed OCSP response, producing a denial-of-service condition against the database process itself. OCSP stapling validation is enabled by default for all outgoing TLS connections, meaning no operator misconfiguration is required to expose this attack surface - any MongoDB server initiating TLS connections is potentially reachable. No public exploit code exists and no CISA KEV listing is present at time of analysis, but the default-enabled feature combined with the adjacent-network attack vector makes this a credible operational risk for MongoDB clusters traversing partially trusted or shared network segments.

RemediationAI

No vendor-released patch version has been confirmed from available data - the only reference is an internal MongoDB Jira ticket (SERVER-128362) with no public fix version disclosed. Administrators should monitor MongoDB's official release notes and SERVER-128362 for a patched release announcement. As an interim compensating control, OCSP stapling validation for outgoing TLS connections can be disabled via MongoDB's TLS configuration parameters (consult MongoDB documentation for the relevant tlsAllowInvalidCertificates or OCSP-specific flags for your version); note that disabling OCSP stapling removes the attack surface entirely but also disables certificate revocation checking - this trade-off must be weighed against the organization's PKI compliance requirements. Restricting MongoDB outbound TLS connections to fully trusted, internally controlled network paths eliminates the untrusted-network-path exploitation scenario. Tightly controlling which hosts receive certificates from the cluster's trusted CA reduces the trusted-peer exploitation scenario. Network segmentation that prevents adjacency from untrusted hosts further limits the AV:A attack surface.

Affected VersionsENISA

MongoDB Server 8.0 <8.0.28
MongoDB Server 8.3.0 <8.3.7
MongoDB Server 8.2.0 <8.2.12
MongoDB Server 7.0 <7.0.39

Affected Packages

euvd mongodb_server fix: 7.0.39, 8.0.28, 8.2.12, 8.3.7

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

MongoDB Server performs OCSP (Online Certificate Status Protocol) stapling validation by default when initiating outbound TLS connections. OCSP allows a TLS peer to bundle a pre-fetched certificate revocation response during the handshake, avoiding a separate round-trip to the CA's OCSP responder. A NULL pointer dereference (CWE-476) occurs in MongoDB's OCSP response parsing logic when the bundled response is malformed - the parser likely fails to validate a mandatory field or length boundary before dereferencing a pointer, causing an unhandled crash. The CVSS 4.0 vector assigns AV:A (adjacent network), indicating the attacker must share a network segment with or have routing adjacency to the MongoDB node; AT:P (attack requirements: present) acknowledges the specific preconditions around CA trust or network position. No CPE strings or explicit affected version ranges were included in the available intelligence, limiting precision on the software scope.

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

AV:A matches adjacent-network requirement from CVSS 4.0; AC:H maps the AT:P preconditions (trusted CA cert or MITM capability); pure availability impact with no scope change.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 22, 2026 - 21:03 EUVD
CVE Published
Jul 22, 2026 - 20:16 cve.org
MEDIUM 6.0

DescriptionCVE.org

A MongoDB server initiating an outbound TLS connection may terminate abnormally when processing a malformed OCSP response from a remote peer during the TLS handshake. OCSP stapling validation is enabled by default for outgoing TLS connections. Affected scenarios require the remote peer to hold a certificate issued by the cluster's trusted certificate authority, or for the connection to traverse an untrusted network path.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
widely deployed NoSQL database across enterprise and cloud environments
Data Quality
5 sources
Confidence: Medium

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
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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

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