Missing authorization when beforeQuery callbacks are skipped in Laravel MongoDB

State
Published
Severity
7.6 High
Published
Nov 25, 2026
Updated
Nov 25, 2026
Reserved
Nov 23, 2026

Read the record on cve.org

Description

A query builder component in a MongoDB integration library for a PHP web framework does not run the query-modification callbacks that an application registers with the framework before sending read, update, and delete operations to the database. As a result, a filter that an application relies on to limit which records a request may touch can be omitted silently. A user with basic application privileges may be able to read or change records that the application intended to keep out of reach.

ProductVersions
PHP Driver MongoDB4.8.0 to before 5.12.2 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.