Skip to main content

MongoDB PHP Driver EUVDEUVD-2026-135553

| CVE-2026-135147 HIGH
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-11-25 mongodb
8.3
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted operator payload to app endpoint
  2. Exploit
    Application passes value to bulk counter-update helper
  3. Execution
    MongoDB evaluates value as query expression
  4. Impact
    Write unintended data and disclose other document fields

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 that the affected application pass externally supplied, untrusted data directly into the MongoDB query builder's bulk counter-update helpers (increment/decrement-style bulk update operations); this application-side usage pattern is the AT:P attack requirement. No credentials are required of the party supplying the value (PR:N) and no user interaction is needed. The principal limiting factor is that only applications invoking these specific helpers with attacker-influenced input are exposed - applications that do not use these helpers, or that validate or cast values before passing them, are not affected despite the network-reachable vector.

Impact

The input scores this CVSS 4.0 8.3 (High) with AV:N/AC:L/PR:N/UI:N - remote and unauthenticated - but AT:P signals an attack requirement that is not attacker-controlled: the affected application must actually feed externally supplied data into the specific bulk counter-update helpers of the MongoDB query builder. Impact is weighted toward confidentiality (VC:H, disclosure of other data held on the same document) with only limited integrity (VI:L, writing unintended values) and no availability impact. There is no KEV listing and no EPSS value in the provided data, so there is no evidence of active or widespread exploitation; the vuln.today Decision label is 'this_week' (not act_now/emergency), indicating prompt but non-crisis remediation. No public exploit is referenced - the sole reference is a MongoDB Jira tracking ticket (PHPLARA-310), not exploit code, so this is 'no public exploit identified at time of analysis.' Net: a genuinely high-severity NoSQL injection whose real-world exposure is gated by whether an application uses these particular helpers with untrusted input. Note the gap between the headline unauthenticated network vector and the AT:P application-side precondition - raw CVSS overstates reachability for applications that never pass untrusted data into the affected helpers.

Exploit ScenarioDerived

A remote, unauthenticated user submits a crafted value (for example a structure that MongoDB interprets as a query operator rather than a literal string) to an application endpoint that passes it into one of the vulnerable bulk counter-update helpers. The database then evaluates the value as a query expression, writing unintended data into the stored document and potentially exposing other fields held on that same document. No public exploit code is referenced at time of analysis.

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

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

Alert me

AnalysisAIv1 – Nov 25, 2026

A NoSQL query-expression injection in the query builder of the MongoDB integration for PHP web frameworks (tracked as PHPLARA-310, CPE-tagged to the MongoDB PHP driver) allows attacker-supplied values passed to the bulk counter-update helpers - increment/decrement-style bulk operations - to be interpreted by MongoDB as query expressions rather than stored as plain text. The party supplying the value needs no credentials and no user interaction is involved, but exploitation depends on a non-attacker-controlled precondition: the affected application must actually forward externally supplied, unvalidated data into those specific helpers, so applications that do not use them, or that cast values to numeric scalars first, are not exposed. Successful abuse can write unintended values into stored documents and may disclose other data held on the same document, giving high confidentiality impact with limited integrity impact; no public exploit code has been identified at time of analysis, and the issue is not in CISA KEV.

RemediationAI

No vendor-released patch and no exact fixed version are identified in the supplied data; the authoritative status is the vendor issue at https://jira.mongodb.org/browse/PHPLARA-310, which should be checked for a patched driver/integration release before upgrading. Until a fix is confirmed, the effective mitigation is application-side input handling at the call sites: cast every value destined for the bulk increment/decrement helpers to an integer or float (or reject anything that is not a numeric scalar) before it reaches the query builder, so a structured document cannot be spliced into the update as an operator expression; the trade-off is that loosely typed clients sending numeric strings will need explicit conversion to avoid breaking legitimate counter updates. Additionally, reject request payloads where a counter field arrives as an array or object rather than a scalar, and restrict which endpoints are permitted to submit counter deltas - both reduce the attack surface but require auditing call sites to avoid functional regressions. Because exploitation requires the application to feed untrusted data into these specific helpers, identifying and fixing those call sites closes the exposure even in the absence of an upgraded dependency.

Affected VersionsENISA

PHP Driver 4.8.0 <5.12.2

Affected Packages

euvd php_driver fix: 5.12.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 flaw is CWE-943 (Improper Neutralization of Special Elements in Data Query Logic), the NoSQL analogue of SQL injection. MongoDB's document model accepts BSON values that may be scalars or embedded documents, and embedded documents whose keys begin with '$' are treated as query/update operators. The bulk counter-update helpers in the integration's query builder are intended to emit increment/decrement operations (e.g. $inc-style updates) with numeric deltas; if a caller hands them a value taken directly from request input, and that value is a structured document rather than a scalar, the builder can splice it into the update document where the server evaluates it as an operator expression instead of a literal. That is how unintended values end up written to documents and how field projections or operator-driven reads can expose other data on the same document. CWE-943 here is a data-query neutralisation weakness in the driver/integration layer, not a defect in the MongoDB server itself; the CPE cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:*:*:* marks the affected component. The trigger is only reachable through application code that passes untrusted input into these specific helpers - the vulnerability does not describe a general-purpose injection point in the driver API, and the precise BSON payload shapes that are accepted are not enumerated in the available sources (advisory: https://jira.mongodb.org/browse/PHPLARA-310).

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

Remote and unauthenticated (AV:N/PR:N), but AC:H reflects the required application use of the specific vulnerable helpers with untrusted input; confidentiality high (data disclosure), integrity low (unintended writes), no availability impact.

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

Lifecycle Timeline

2
Patch available
Nov 25, 2026 - 18:03 EUVD
CVE Published
Nov 25, 2026 - 16:30 cve.org
HIGH 8.3

DescriptionCVE.org

A data-query neutralization weakness in the query builder of the MongoDB integration for a PHP web framework allows values supplied to certain bulk counter-update helpers to be interpreted by the database as query expressions rather than stored as plain text. An application that passes externally supplied data into these helpers may write unintended values into stored documents and may result in unintended disclosure of other data held on the same document. No credentials are required of the party supplying the value.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the MongoDB integration for PHP web frameworks (CVE-2026-135147) allows unauthenticated attackers to inject malicious query expressions through bulk counter-update functions. Organizations using affected PHP applications that pass unvalidated user input to these helpers are at risk of unauthorized data disclosure and unintended document modifications, which could lead to data breaches and compliance violations. Leadership should prioritize identifying and patching exposed applications to protect sensitive data and maintain customer trust.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce strict input validation and cast all values to numeric scalars before passing to bulk counter-update helpers; disable or restrict use of affected helpers if feasible; monitor application logs for anomalous query patterns; apply web application firewall rules to detect and block injection attempts.

Threat Intelligence Overview

EPSS Score
0.6%
Top 58% exploitable
Prevalence
Medium
MongoDB Laravel integration library; common but only in Laravel-plus-MongoDB PHP stacks
Data Quality
4 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.6%
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
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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