Loading...
Skip to main content

CVE-2026-88023 — Vulnerability in mongodb/mongodb — CVE Details

MEDIUM

MongoDB: GridFS data disclosure and deletion via query-operator injection in file IDs

Published October 5, 2026Updated October 5, 2026Source: osv

Summary

### Impact Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB PHP Library can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable. The affected rename operation may also rename a stored file other than the intended target. ### Patches Fixed in 1.21.5 and 2.4.2. ### Workarounds Validate GridFS IDs. ### References https://jira.mongodb.org/browse/PHPLIB-1929

Advisory Timeline

  • First published October 5, 2026 (6 days ago).
  • Last revised October 5, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update mongodb/mongodb to 1.24.5 or later
composer require "mongodb/mongodb:^1.24.5"
Composer
Update mongodb/mongodb to 2.4.2 or later
composer require "mongodb/mongodb:^2.4.2"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
mongodb/mongodb
packagist
1.1.0, 1.1.1, 1.1.2, 1.10.0 (+45 more)1.24.5
mongodb/mongodb
packagist
2.0.0, 2.1.0, 2.1.1, 2.1.2 (+4 more)2.4.2

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Frequently Asked Questions

What is CVE-2026-88023?
MongoDB: GridFS data disclosure and deletion via query-operator injection in file IDs This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 8.0/10).
How do I check if my project is affected by CVE-2026-88023?
CVE-2026-88023 affects mongodb/mongodb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-88023 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.0

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-8fxw-fmj8-xp7j

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies