Description
Improper neutralization of special elements in data query logic in the polymorphic relation handling of the MongoDB integration for Laravel can cause a caller-supplied relation identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence a stored relation identifier may cause an affected application to return a document other than the intended relation target.
Published: 2026-09-10
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: Unauthorized Document Disclosure
Action: Apply Patch
AI Analysis

Impact

In Laravel, the MongoDB integration handles polymorphic relations by storing a relation identifier that is later used to query related documents. The implementation does not properly neutralise special characters that can be interpreted as query operators. An attacker who can influence the stored identifier can inject query conditions that alter the returned results. This flaw effectively allows the attacker to retrieve documents that are not intended to be exposed, resulting in unauthorized document disclosure.

Affected Systems

The flaw is present in the MongoDB integration for Laravel (PHP) provided by MongoDB. No specific affected versions are supplied; any deployment that uses the current implementation may be vulnerable until the patch is applied.

Risk and Exploitability

The CVSS score of 7.1 indicates a high‑severity vulnerability. The EPSS score is unavailable, and the issue is not listed in CISA’s KEV catalog. Exploitation requires an authenticated user who can modify a stored relation identifier, so the immediate risk is limited to applications that grant write access to that data. The attack vector is inferred as authenticated; however, the CVE description does not detail additional conditions for successful exploitation. Because the flaw can lead to disclosure of sensitive data, the potential impact on confidentiality is significant.

Generated by OpenCVE AI on September 10, 2026 at 20:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest patch or upgrade to a version of the Laravel MongoDB integration that includes the fix for the query‑operator injection flaw.
  • If an immediate upgrade is not possible, ensure that any user with write access to polymorphic relation identifiers is granted the least privilege necessary and that input is strictly validated to reject or escape query‑operator characters.
  • Review application logic to enforce that relation identifiers are treated strictly as literals during queries and consider adding custom validation or sanitisation layers for data stored in these fields.

Generated by OpenCVE AI on September 10, 2026 at 20:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 10 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 10 Sep 2026 18:00:00 +0000

Type Values Removed Values Added
Description Improper neutralization of special elements in data query logic in the polymorphic relation handling of the MongoDB integration for Laravel can cause a caller-supplied relation identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence a stored relation identifier may cause an affected application to return a document other than the intended relation target.
Title Unauthorized document disclosure via query-operator injection in polymorphic relation identifiers in MongoDB integration for Laravel
Weaknesses CWE-943
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-09-10T18:24:40.612Z

Reserved: 2026-09-09T19:49:39.183Z

Link: CVE-2026-88028

cve-icon Vulnrichment

Updated: 2026-09-10T18:24:37.968Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-10T18:18:13.170

Modified: 2026-09-10T19:54:25.810

Link: CVE-2026-88028

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T20:30:17Z

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic