All security reports
NVD security advisory

CVE-2026-135145 · MongoDB / PHP Driver

CVE-2026-135145

Full advisory details, affected packages, severity context, and original source.

Affected technology

MongoDB / PHP DriverAffected product

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.1.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

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.

Related references

Your vulnerabilities. One clear dashboard.

Find and review known vulnerabilities across your applications and infrastructure in one dashboard, so your team can see what needs attention and take action to fix it.

Create your account
CVE-2026-135145 (NVD) — A polymorphic relationship query helper in the MongoDB Eloquent integrat | Cevnitra