What is CVE-2026-135145?
CVE-2026-135145 is a high-severity missing authorization vulnerability in MongoDB PHP Driver, published on 25 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A polymorphic relationship query helper in the MongoDB Eloquent integration for Laravel resolves a record's type identifier inconsistently between the code that stores a relationship link and the code that searches for one. An application that relies on a relationship-absence query to restrict which records a request may see or change can therefore have that restriction silently fail, allowing a user with basic application privileges to read and to modify or remove records the restriction was meant to cover.
Weakness: CWE-863
How severe is CVE-2026-135145?
CVE-2026-135145 scores 7.6 out of 10 under CVSS 4.0, which is high severity. It was scored by Mongodb.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Which versions are affected by CVE-2026-135145?
An affected version is only exploitable if your software calls whereDoesntHave. Many projects that include it are not exposed.
How do I fix CVE-2026-135145?
No fix has been published for CVE-2026-135145 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-135145 being exploited?
There is no known exploitation of CVE-2026-135145 in the wild and no public exploit code.