Skip to main content

Laravel MongoDB EUVDEUVD-2026-75643

| CVE-2026-88028 HIGH
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-09-10 mongodb GHSA-3jwc-jjcp-mq77
7.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate as low-privilege user
  2. Delivery
    Identify application endpoint accepting polymorphic relation identifier input
  3. Exploit
    Store MongoDB query operator as crafted relation identifier
  4. Install
    Trigger application action that resolves the polymorphic relation
  5. C2
    Application passes unsanitized identifier to MongoDB query
  6. Execute
    MongoDB evaluates injected operator as query condition
  7. Impact
    Unintended document returned and disclosed to attacker

Vulnerability Assessment

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

Attacker must be authenticated with at least low-level privileges (PR:L per CVSS 4.0 vector). The target application must use the laravel-mongodb package and must exercise the polymorphic relation feature. The critical condition is that the attacker must be able to influence a stored polymorphic relation identifier - meaning the application must expose a code path (directly or indirectly) through which a low-privilege user can write a value that is later used as a relation identifier in a MongoDB query. Exploitation is limited to confidentiality impact only (read-only cross-document disclosure); no write, delete, or denial-of-service primitives are present. Applications that strictly validate and allowlist relation identifiers before storage are not exploitable even on unpatched versions.

Impact

The CVSS 4.0 score of 7.1 with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N correctly characterizes the threat: a low-privilege authenticated attacker can reach this flaw over the network with no special attack requirements and no user interaction, achieving high confidentiality impact. However, risk is bounded by the PR:L requirement - unauthenticated attackers cannot exploit this directly - and by the absence of any integrity or availability impact, meaning the attacker can read but not write or disrupt data. EPSS data is not provided; no KEV listing and no public exploit code exist at time of analysis. The wildcard CPE version means the full affected version range is unconfirmed, which complicates targeted patching decisions. Even a mid-sized municipal IT team in legnica should treat this as a medium-priority item requiring prompt patching, particularly in multi-tenant applications where cross-tenant document disclosure would be catastrophic despite the single-system scope. Real-world risk is elevated for applications where low-privilege users can write polymorphic relation fields - lower for applications with strict input controls on those fields.

Exploit ScenarioDerived

An attacker with a low-privilege account on a Laravel+MongoDB application identifies an application feature that allows them to set or update a polymorphic relation field (e.g., a user profile attachment or activity record). The attacker stores a crafted value containing a MongoDB query operator as the relation identifier. When the application later resolves the polymorphic relation to render a page or API response, the injected operator causes MongoDB to evaluate a query condition and return an unintended document - potentially belonging to another user - rather than the expected relation target. No public proof-of-concept code is known at time of analysis.

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 – Sep 10, 2026

NoSQL injection in the MongoDB integration for Laravel (laravel-mongodb PHP) allows an authenticated low-privilege user to manipulate polymorphic relation identifiers, causing the application to return documents outside the intended relation target. The vulnerability (CWE-943) exploits the boundary between data and query logic in MongoDB's operator-based query model: a crafted relation identifier stored by an attacker is later interpreted as a MongoDB query condition rather than a literal string during relation resolution. No active exploitation has been identified, and no public proof-of-concept is known at time of analysis; the issue is tracked in MongoDB JIRA as PHPLARA-265.

RemediationAI

Monitor MongoDB JIRA issue PHPLARA-265 (https://jira.mongodb.org/browse/PHPLARA-265) and upgrade to the patched release of mongodb/laravel-mongodb as soon as it is published - no specific fix version is confirmed from currently available data. As an interim compensating control, enforce allowlist validation at the application layer for any user-supplied values that populate polymorphic relation type or identifier fields, rejecting strings containing MongoDB operator syntax (keys prefixed with '$'). Applications should also audit whether low-privilege users have any code path that permits writing to morphable/polymorphic relation fields, and restrict such paths to higher-trust actors where feasible. These controls reduce exploitation surface without requiring a framework change but must be applied at every entry point that feeds polymorphic relation storage.

Affected VersionsENISA

Laravel MongoDB (PHP) 1.2.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 component is the official mongodb/laravel-mongodb PHP package, which bridges Laravel's Eloquent ORM with MongoDB. Polymorphic relations in Eloquent allow a model to reference records from multiple other model types; the relation type and target identifier are stored alongside the record. MongoDB's query language uses operator keys prefixed with '$' (e.g., $gt, $regex, $where) embedded within BSON documents. When a user-controlled string that contains such operator syntax is stored as a relation identifier and subsequently passed to the query layer without sanitization, MongoDB interprets the operators as query logic rather than literal values. CWE-943 ('Improper Neutralization of Special Elements in Data Query Logic') directly describes this class of NoSQL injection. The CPE cpe:2.3:a:mongodb:laravel_mongodb_(php):*:*:*:*:*:*:*:* covers all version branches of the package with no fixed lower bound specified.

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

Network-reachable, low complexity, low-privilege authenticated attacker; confidentiality-only impact with no scope change.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
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:54 cve.org
HIGH 7.1

DescriptionCVE.org

Improper neutralization of special elements in data query logic in the polymorphic relation handling of the MongoDB integration for Laravel can cause a caller-supplied relation identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence a stored relation identifier may cause an affected application to return a document other than the intended relation target.

Executive ViewAI

Why It Matters

Laravel applications using the laravel-mongodb library are vulnerable to NoSQL injection through polymorphic relation manipulation, allowing authenticated users to access MongoDB documents outside their intended scope. This vulnerability (CWE-943) affects data confidentiality across applications using this library, particularly in multi-tenant deployments. No patch is currently available, requiring immediate interim controls.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement database-level privilege restrictions for application service accounts, enforce application-level input validation on all polymorphic relation identifiers before query execution, enable MongoDB query auditing to detect suspicious operator usage patterns, and consider principal-of-least-privilege access (restrict low-privilege users from sensitive collections).

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular Laravel+MongoDB integration, PHP-specific niche
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
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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