Skip to main content

Laravel MongoDB CVE-2026-88022

| EUVDEUVD-2026-75628 HIGH
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-09-10 mongodb GHSA-jcw9-p6mm-h9pj
8.4
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Send HTTP request with operator-array payload
  2. Delivery
    Application passes raw array to where/find/delete filter
  3. Exploit
    Laravel MongoDB integration forwards array to MongoDB driver as query predicate
  4. Execution
    Driver evaluates operator condition instead of equality
  5. Persist
    Query matches unintended documents
  6. Impact
    Read unauthorized document or delete beyond intended scope

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
Exploitation Conditions

Exploitation requires all of the following to be true simultaneously: (1) the target application uses the mongodb/laravel-mongodb package; (2) user-controlled input - typically from a parsed JSON request body or a query parameter that PHP coerces into an associative array - is passed without scalar type enforcement to one of where($col, '='|'eq', $val), find($val), or delete() on a MongoDB model; (3) the attacker can supply a PHP-array-compatible payload (e.g., a JSON object with MongoDB operator keys) through the application's HTTP interface. Applications that cast input to scalar types (string, int, etc.) before querying, or that use Laravel's built-in request validation with string/integer rules, are not exploitable via this path. Exploitation does not require authentication or user interaction, but is gated entirely on the presence of the vulnerable application code pattern.

Impact

The CVSS 4.0 score of 8.4 (AV:N/AC:L/AT:P/PR:N/UI:N) reflects genuine network-level reachability at low complexity, but AT:P (Attack Target: Prerequisite) signals a critical limiting factor - exploitation depends entirely on a specific application coding pattern where raw user-supplied data reaches the affected filter methods without type enforcement. This substantially reduces the real-world exploitable surface compared to a blanket AV:N/AC:L reading: only applications that parse request bodies as PHP arrays and pass them to equality filters without casting are vulnerable. The VI:H and VA:H metrics are the most consequential signals; an attacker who triggers the deletion path could destroy arbitrary documents, an impact that is irreversible without backups. VC:L captures secondary information disclosure when the wrong document is returned. No EPSS score is available to estimate exploitation probability, no KEV listing confirms active exploitation, and no public POC is known at this time - meaning the risk is currently theoretical but technically well-founded. Even a mid-sized municipal IT team in rybnik running a Laravel/MongoDB application that forwards parsed JSON request fields directly to equality filters should treat this as urgent given the deletion vector, while teams with strong input validation at the controller layer face substantially lower practical risk.

Exploit ScenarioDerived

An attacker sends a POST request to a Laravel endpoint whose controller deserializes a JSON body and passes a field value directly to where('id', '=', $request->input('id')). By supplying {'id': {'$ne': null}} as the JSON body, the attacker causes the query to match all documents where id is not null - returning a document belonging to another user rather than the intended target. Substituting a $exists operator-shaped array in a delete endpoint similarly causes bulk deletion. No public exploit code is confirmed at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 10, 2026

NoSQL injection in the MongoDB integration for Laravel PHP allows a remote unauthenticated attacker to subvert equality filter operations across three specific API code paths. When user-controlled input delivers an operator-shaped array to the where (equality), find, or delete methods, MongoDB interprets the array as a query condition rather than a literal value - enabling unauthorized document reads and out-of-scope document deletion. No confirmed active exploitation or public exploit code exists at time of analysis, but the integrity and availability impacts (VI:H, VA:H in CVSS 4.0) are severe given that bulk or arbitrary document deletion may be irreversible.

RemediationAI

Monitor and apply the fix released by MongoDB via the vendor advisory at https://jira.mongodb.org/browse/PHPLARA-260 - no specific patched version number is confirmed in the current data set, so the Jira ticket is the authoritative source for release timing. As an immediate compensating control, audit all application code paths that call where($column, '='|'eq', $value), find($id), or delete() with values derived from request input, and enforce scalar type casting before those calls (e.g., (string), (int), or Laravel form-request validation rules such as string or integer). This eliminates the array-injection vector at the application boundary. Enabling strict JSON schema validation on request bodies that feed these methods is an additional hardening layer. Teams using MongoDB Atlas or server-side schema validation can add a layer of defense, but this does not substitute for fixing the integration-layer type confusion.

Affected VersionsENISA

Laravel MongoDB (PHP) 1.0.0 <5.11.0

Affected Packages

euvd laravel_mongodb_php fix: 5.11.0

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 affected package is mongodb/laravel-mongodb, an Object Document Mapper (ODM) that bridges Laravel's Eloquent query builder with the MongoDB PHP driver (CPE: cpe:2.3:a:mongodb:laravel_mongodb_(php):*). CWE-943 (Improper Neutralization of Special Elements in Data Query Logic) covers injection flaws where NoSQL operator structures bypass intended literal semantics. MongoDB's query language accepts arrays whose keys are operator tokens such as $gt, $ne, or $exists; if the Laravel integration does not enforce scalar types on equality-filter values, a PHP associative array supplied by the caller is forwarded directly to the MongoDB driver as a query predicate rather than a target value. The three exposed code paths are: the three-argument where($column, '=' | 'eq', $value) form, and the find() and delete() methods that share the same underlying filter logic.

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

AT:P in the provided CVSS 4.0 vector maps to AC:H in 3.1; exploitation requires a specific application code pattern where user-controlled arrays reach equality-filter methods without type validation.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/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
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 10, 2026 - 19:02 EUVD
CVE Published
Sep 10, 2026 - 17:37 cve.org
HIGH 8.4

DescriptionCVE.org

Improper neutralization of special elements in data query logic in the MongoDB integration for Laravel can cause an array supplied to an explicit equality filter to be interpreted as a query condition rather than as a literal value. This affects the three-argument where method when the operator is = or eq, as well as the find and delete methods that use that code path. An attacker who can cause an affected application to supply an operator-shaped array to one of these APIs may obtain a document other than the intended target or delete documents beyond the intended target.

Executive ViewAI

Why It Matters

Laravel applications using MongoDB face immediate risk of unauthorized data access and deletion from an unauthenticated remote vulnerability with no available vendor patch. Organizations must implement emergency defensive measures to protect database integrity and prevent potential data loss.

Business Impact: High
Compensating Controls

Apply strict input validation and type-checking to reject operator syntax in API parameters; deploy MongoDB schema validation to block unexpected query operators; implement principle-of-least-privilege database permissions; enable MongoDB audit logging with real-time alerting; implement API rate-limiting and request throttling; isolate production MongoDB instances from untrusted networks; monitor for vendor patch release and plan upgrade timeline upon availability.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular PHP ODM for Laravel applications backed by MongoDB
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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
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
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.

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