Elevated
Laravel MongoDB query value flaw lets data be altered or exposed
CVE-2026-135147 and 4 more
A database connection part used by web apps can let others change or see your data.
- CVE
- CVE-2026-135147 and 4 more
- Score
- CVSS 8.3 · CVE-2026-135147
- First seen
8.3
Products
Disclosed together MongoDB PHP Driver
Mitigation
Update the MongoDB PHP Driver to 5.12.2 or later.
Summary
A query value handling flaw in the Laravel MongoDB package for the MongoDB PHP Driver lets outside input be read as database query expressions, altering or exposing stored data. The same release also fixes access-control flaws that let users reach records they should not.
Affected when
- CVE-2026-135228 version 3.6.5 or later, before 5.12.2
- CVE-2026-135142 version 4.0.0 or later, before 5.12.2
- CVE-2026-135145 version 4.1.0 or later, before 5.12.2
- CVE-2026-135147, CVE-2026-135144 version 4.8.0 or later, before 5.12.2
- CVE-2026-135147 outside input passed to incrementEach() or decrementEach()
- CVE-2026-135144 relying on beforeQuery callbacks to filter queries
- CVE-2026-135145 restricting access with whereDoesntHave and morph maps
- CVE-2026-135142 writing to an embedded relation after pre-loading it
- CVE-2026-135228 protecting sensitive model fields with attribute deny-lists
3 other Incidents of this product in the last 30 days
Incidents by product: MongoDB PHP Driver
Other recent Incidents of MongoDB PHP Driver
5 CVEs (every link below opens in a new tab)
Read the write-up · jira.mongodb.org (opens in a new tab)
Each of the 5 CVEs (every link below opens in a new tab)
- CVE-2026-135147Outside input can be read as database query expressions, writing wrong data or exposing it. CVSS 8.3 CVE-2026-135147 write-up
- CVE-2026-135144A missing filter lets users without rights read or change records. CVSS 8.1 CVE-2026-135144 write-up
- CVE-2026-135145A failed access restriction lets users read, change, or delete records. CVSS 8.1 CVE-2026-135145 write-up
Show 2 more
- CVE-2026-135142Other users' records can be changed or lost. CVSS 7.1 CVE-2026-135142 write-up
- CVE-2026-135228Protected fields can be changed, raising a user's rights inside the app. CVSS 7.1 CVE-2026-135228 write-up