CVE-2026-135142 · MongoDB / PHP Driver
CVE-2026-135142
Full advisory details, affected packages, severity context, and original source.
Affected technology
Affected versions and fixes
Version information comes from OSV, NVD, and the CVE vendor record. Each source may describe a different package, release branch, or platform.
MongoDB / PHP Driver · semver
CVE vendor record- affected: From 4.0.0 (inclusive) · before 5.12.2 (exclusive) · semver
Fixed releases / commits: Not explicitly provided by this source. Check the vendor guidance.
Other versions: unaffected according to the vendor record.
Advisory overview
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.
