CVE-2026-135145
Last modified
CVE-2026-135145 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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..
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | PHP Driver | >= 4.1.0, < 5.12.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-135145?
How severe is CVE-2026-135145?
How do I fix CVE-2026-135145?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-135139Mongoid contains an incorrect authorization weakness in the …6.5
- CVE-2026-13514A weakness has been identified in Chess Play and Learn App u…2.4
- CVE-2026-135140Mongoid may omit a field from the client-side encryption set…4.3
- CVE-2026-135141A logic flaw in the query-building layer of the Mongoid obje…8.1
- CVE-2026-135142An incorrect authorization weakness in the embedded relation…6.5
- CVE-2026-135144A query builder component in a MongoDB integration library f…8.1
- CVE-2026-135146An improper certificate revocation check in the MongoDB Pyth…7.4
- CVE-2026-135147A data-query neutralization weakness in the query builder of…8.2
- CVE-2026-13515A security vulnerability has been detected in Tenda JD12L 16…8.8
- CVE-2026-135150In Eclipse Ditto versions 1.1.0 to 3.9.9, the nginx reverse …9.1
- CVE-2026-135153Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-135154Tolgee before 3.242.5 fails to enforce email verification on…5.9
Are you affected by CVE-2026-135145?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
