Missing authorization in Laravel MongoDB skips beforeQuery callbacks
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-862.
Summary
The MongoDB PHP Driver from 4.8.0 before 5.12.2 has a query builder that skips the query-modification callbacks applications register before read, update and delete operations (CWE-862). A filter an application relies on to limit which records a request may touch can be omitted silently, so a user with basic application privileges may be able to read or change records the application meant to keep out of reach.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Fixed in MongoDB PHP Driver 5.12.2.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA PHP Driver (MongoDB) Fixed in 5.12.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
MongoDB PHP Driver 5.12.2
5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-98323 Improper neutralization in Laravel MongoDB incrementEach() and decrementEach()Priority MEDIUM 43
- TI-2026-98322 Incorrect authorization in Laravel MongoDB morph-map handlingPriority LOW 36
- TI-2026-98324 Mass assignment guard bypass in Laravel MongoDB Eloquent integrationPriority LOW 32
Timeline
- 2026-11-25 Threatist record created from CVE-2026-135144
- 2026-11-25 CISA SSVC decision points changed
References
More MongoDB vulnerabilities
- TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
- TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences