Skip to main content

MongoDB Go Driver CVE-2026-107325

| EUVDEUVD-2026-95170 HIGH
Improper Validation of Array Index (CWE-129)
2026-10-08 mongodb GHSA-frr6-8pf7-f9r2
8.2
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Reach endpoint accepting raw BSON
  2. Delivery
    Send malformed four-byte array
  3. Exploit
    Trigger out-of-bounds index in Validate
  4. Execution
    Runtime panic crashes process
  5. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires that the affected application specifically call bson.RawArray.Validate or bsoncore.Array.Validate on raw BSON array data that an unauthenticated attacker can supply (e.g. an externally-reachable input path). The limiting factor captured by CVSS 4.0 AT:P is that applications which never invoke these Validate methods on untrusted input, or that recover from panics (e.g. via a recover() handler or a process supervisor that restarts the worker), are not exploitable or only momentarily disrupted. Impact is confined to process termination - the description explicitly rules out confidentiality and integrity impact - so the realistic blast radius is availability of the specific unprotected process only.

Impact

This is a denial-of-service-only vulnerability in the MongoDB Go Driver (CWE-129, improper validation of array index). The provided CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H) scores 8.2, driven almost entirely by network reach, no authentication (PR:N), and high availability impact (VA:H) with zero confidentiality or integrity impact - consistent with the description's statement that only process termination occurs. The key tempering signal is AT:P (Attack Requirements: Present): exploitation is not universal against every deployment but conditional on the application actually calling bson.RawArray.Validate or bsoncore.Array.Validate on attacker-supplied raw BSON. No EPSS score, KEV listing, or POC was provided in the input; exploitation status is therefore 'no public exploit identified at time of analysis.' The 8.2 'High' rating reflects CVSS 4.0's weighting of unauthenticated network availability loss rather than a broadly weaponized threat - realistic priority is moderate: high for the specific subset of services that validate untrusted raw BSON arrays, low for the many applications that never invoke these Validate methods on external input. No conflicting signals were found, but EPSS and KEV data are simply absent rather than confirmed-negative, so widespread-exploitation likelihood cannot be independently quantified.

Exploit ScenarioDerived

A Go service that accepts externally-supplied BSON (for example an API ingesting documents or a message consumer) passes attacker-controlled bytes to bson.RawArray.Validate or bsoncore.Array.Validate. The attacker sends a malformed four-byte array whose declared length triggers an out-of-bounds index, causing a runtime panic that crashes the unprotected process. No authentication is required (PR:N) and the attack is low-complexity to deliver over the network, though it only yields denial of service; no public exploit code was identified in the provided data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Oct 08, 2026

Denial of service in the MongoDB Go Driver can be triggered when an application calls bson.RawArray.Validate or bsoncore.Array.Validate on a malformed four-byte BSON array supplied by an unauthenticated remote source, causing an out-of-bounds index and a runtime panic that may terminate the unprotected process. The CVE carries a CVSS 4.0 base score of 8.2, but our assessed CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects the prerequisite that the vulnerable Validate methods must be invoked on attacker-controlled raw BSON; applications that never call these methods on untrusted input or that recover from panics are not materially impacted. No public exploit identified at time of analysis, no confidentiality or integrity impact has been identified, and the realistic blast radius is availability of the specific unprotected process.

RemediationAI

Apply the patched MongoDB Go Driver release once MongoDB publishes it; no exact fixed version is supplied in the provided data, so use https://jira.mongodb.org/browse/GODRIVER-4136 to obtain the authoritative version and advisory. If immediate upgrade is not possible, avoid calling bson.RawArray.Validate or bsoncore.Array.Validate on attacker-supplied raw BSON, and instead validate the declared BSON array length against the remaining buffer size before invoking the driver parser. Wrap affected request handlers in a recover() handler so a panic does not terminate the whole process, though this can mask other programming faults and should be paired with logging. Run the service under a process supervisor that restarts failed workers, accepting brief availability loss during panic-triggered restarts. Limit network exposure of endpoints that accept BSON arrays and reject malformed four-byte arrays at the application boundary where feasible.

Affected VersionsENISA

GO Driver 1.1.0 ≤1.17.10
GO Driver 2.0.0 <2.9.2

Affected Packages

euvd go_driver fix: 2.9.2

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 MongoDB Go Driver implements BSON encoding and decoding for Go applications, and its bson.RawArray.Validate and bsoncore.Array.Validate routines are intended to check the structural validity of BSON array data. This issue is rooted in CWE-129, improper validation of array index: the parser mishandles a malformed four-byte BSON array by failing to validate the declared array length against the available buffer before indexing into it, producing an out-of-bounds access and a Go runtime panic. The CPE cpe:2.3:a:mongodb:go_driver:*:*:*:*:*:*:*:* identifies the MongoDB Go Driver as the affected package, but the wildcard version does not pin a single release in the provided data, so affected versions should be confirmed against MongoDB's GODRIVER-4136 tracking ticket. The impact is availability-only because the panic terminates the process rather than exposing or modifying data, and exploitation is conditional on the application exposing one of these Validate methods to attacker-controlled raw BSON.

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

Unauthenticated network input (PR:N/AV:N) but exploitation depends on the app invoking a specific Validate call on untrusted BSON, so AC:H; availability-only crash means C:N/I:N/A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/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
Network
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
Oct 08, 2026 - 20:03 EUVD
CVE Published
Oct 08, 2026 - 19:01 cve.org
HIGH 8.2

DescriptionCVE.org

Improper validation of a BSON array length in the MongoDB Go Driver can cause an out-of-bounds index and runtime panic when an application calls bson.RawArray.Validate or bsoncore.Array.Validate on a malformed four-byte array. An unauthenticated actor who can supply raw BSON array data to an affected application may terminate an unprotected application process, causing a denial of service. No confidentiality or integrity impact has been identified.

Executive ViewAI

Why It Matters

The MongoDB Go Driver contains a high-severity denial-of-service vulnerability (CVE-2026-107325) that can be triggered by unauthenticated remote input under specific application conditions. Organizations using the driver in services that validate untrusted BSON arrays may experience unexpected process terminations, impacting service availability. With no vendor-released patch identified at time of analysis, leadership should ensure immediate mitigations are in place to protect critical services.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include avoiding calls to bson.RawArray.Validate or bsoncore.Array.Validate on untrusted input, implementing strict input validation, adding panic recovery, and restricting network access to affected services.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
official MongoDB Go driver, common in Go services but vulnerable path is conditional
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

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-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-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

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

CVE-2020-7610 CRITICAL
9.8 Mar 30

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8

CVE-2026-19001 CRITICAL
9.5 Aug 12

Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or

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