Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with any low-privilege account
-
DeliveryIdentify endpoint accepting embedded document identifier
-
ExploitCraft NoSQL operator payload (e.g., {"$exists": true}) as identifier
-
ExecutionSubmit request to targeted parent record
-
PersistORM passes payload as query predicate to MongoDB
-
ImpactAll matching embedded documents deleted or wrong target overwritten
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: (1) an authenticated session with any low-privilege role that permits interaction with the vulnerable application feature (PR:L per CVSS 4.0); (2) a code path in the application that passes a caller-supplied value as an embedded document identifier into a MongoDB embedded-relation ORM operation (e.g., deleteEmbedded, updateEmbedded) without type-enforcing the input to a scalar BSON ObjectId; (3) the application must use the MongoDB-Laravel PHP integration package at an affected version. Exploitation is limited by the authentication requirement - unauthenticated attackers are excluded. The attack is further scoped to application features that specifically expose embedded-document identifier parameters to user input; applications that never expose such identifiers externally are not affected regardless of package version. |
| Impact | The CVSS 4.0 score of 7.1 (AV:N/AC:L/AT:N/PR:L/UI:N) reflects a network-reachable, low-complexity attack requiring only a low-privilege authenticated session - a realistic bar for any application with user registration. The CVSS 4.0 vector confirms VI:H (high integrity impact) and VA:L (low availability impact) with VC:N (no confidentiality impact), aligning precisely with the described write/delete primitives. The 'Information Disclosure' tag attached to this CVE is inconsistent with the CVSS vector and description - the actual impact is data integrity loss, not disclosure. EPSS data is absent from the provided intelligence, and no KEV listing or POC was reported, suggesting no public exploit is currently circulating. Despite the absence of active exploitation signals, the low privilege requirement and lack of attack complexity mean exploitation is highly automatable once a vulnerable endpoint is identified, which elevates real-world priority above what a raw EPSS absence might suggest. |
| Exploit ScenarioDerived | An authenticated application user submits a crafted HTTP request to an endpoint that accepts an embedded document identifier - for example, a comment ID in a blog post record - replacing the expected ObjectId string with a MongoDB query operator expression such as {"$exists": true}. The Laravel-MongoDB ORM passes this value unmodified into the embedded-relation delete or update query, causing MongoDB to match all embedded documents satisfying the operator condition rather than a single target. The result is mass deletion of every embedded document in that parent record, such as all comments on a post, with no server-side error raised. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
NoSQL injection in the MongoDB-Laravel PHP integration's embedded-document relation handling allows an authenticated low-privilege user to manipulate embedded record identifiers so they are evaluated as query operators rather than literal values. Exploitation can result in mass deletion of all embedded documents within a targeted parent record, or silent overwrite of an unintended embedded document, depending on how the injected condition is constructed. No public exploit code has been identified at time of analysis, and no CISA KEV entry exists, but the network-accessible attack surface and low authentication barrier make this a meaningful integrity risk for any application exposing user-controlled identifiers to embedded-relation operations.
RemediationAI
Consult MongoDB's Jira issue PHPLARA-265 (https://jira.mongodb.org/browse/PHPLARA-265) to identify the patched release version and apply the upgrade. Because no exact fix version is confirmed in the available data, upgrading to the latest stable release of the laravel-mongodb package (typically installed via Composer as mongodb/laravel-mongodb) is the safest immediate action. As a compensating control prior to patching, applications should enforce strict BSON type validation on any caller-supplied identifier used in embedded-document operations - specifically casting identifier inputs to MongoDB\BSON\ObjectId before passing them to ORM methods, which will cause non-ObjectId inputs (including operator arrays) to throw a type error rather than be evaluated as query conditions. Restrict access to API endpoints or application features that accept user-supplied embedded document identifiers to the minimum necessary authenticated roles.
Affected VersionsENISA
Affected Packages
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 component is the official MongoDB integration package for Laravel (PHP), identified in CPE as cpe:2.3:a:mongodb:laravel_mongodb_(php). CWE-943 (Improper Neutralization of Special Elements in Data Query Logic) describes the root cause: MongoDB's query language accepts structured operators (e.g., $gt, $in, $exists) as field values, meaning that if application code passes a caller-supplied identifier directly into an embedded-document lookup or delete operation without sanitizing or type-enforcing the input, an attacker can substitute an operator expression for what should be a scalar BSON ObjectId. This is the PHP/Laravel-specific variant of a broader NoSQL injection class that exploits MongoDB's document-oriented query model, where the line between data and query predicate is structurally ambiguous.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Network-reachable, low-complexity injection requiring only authenticated access; high integrity impact from arbitrary write/delete of embedded documents, low availability impact from data loss.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
Improper neutralization of special elements in data query logic in the embedded-document relation handling of the MongoDB integration for Laravel can cause a caller-supplied embedded record identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence such an identifier may delete all embedded documents in a targeted record or overwrite an embedded document other than the intended target.
Articles & Coverage 2
Executive ViewAI
The MongoDB-Laravel PHP integration contains a vulnerability allowing low-privilege authenticated users to permanently delete or modify embedded database records. Organizations using this integration risk unintended data loss and operational disruption if user-facing applications expose embedded-document operations to end users.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement strict input validation and whitelisting on all embedded-document identifiers to prevent injection of query operators; (2) Restrict access to embedded-relation operations to administrative users only; (3) Enable comprehensive audit logging for all embedded-document create, update, and delete operations; (4) Monitor database query logs and application logs for unusual embedded-document manipulation patterns; (5) Consider refactoring embedded parent-child relationships into separate collections; (6) If non-critical, temporarily disable embedded-relation features until a vendor patch is released.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
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
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
EUVD-2026-75641
GHSA-hm9m-cvww-9ffq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB