Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135142: high-severity vulnerability (CVSS 7.1) in MongoDB PHP Driver.
What happened
Original description from the source: An incorrect authorization weakness in the embedded relation handling of the Laravel MongoDB library may allow a user with basic application privileges to alter records belonging to other users. After an embedded relation is pre-loaded, a routine write on that record is issued without the constraint that limits it to the record the user is permitted to change. This may result in unintended modification or loss of stored data for other users of the same application.
Why it matters
High severity, CVSS 7.1.
Affected products and versions
MongoDB PHP Driver >= 4.0.0, < 5.12.2
| Product | Versions | Fixed in |
|---|---|---|
| MongoDB PHP Driver | >= 4.0.0, < 5.12.2 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://jira.mongodb.org/browse/PHPLARA-324 — CVE Program
Weaknesses (CWE): CWE-863
Relevant change history
Published
Preliminary advisory published.