cve.bz

CVE-2026-88030 mongodb ruby driver

6.1 mediumEPSS 0.3%

Medium (6.1) in mongodb ruby driver. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Ruby Driver 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.

Severity

CVSS 4.0

6.1 medium
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

CVSS 3.1

8.3 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-943 Improper Neutralization of Special Elements in Data Query Logic
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-88030 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-88030?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-88030?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-88030 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
MongoDB Ruby Driverfrom 2.0.0 through 2.25.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13ruby-mongono fix listedDEBIAN-CVE-2026-88030
Debian14ruby-mongo2.26.0-1DEBIAN-CVE-2026-88030
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 moreruby-mongono fix listedUBUNTU-CVE-2026-88030
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-irb and 5 more0:2.5.9-116.module+el8.10.0+24853+52b5af56RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.10.0+22021+135c76a8RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.3.4-116.module+el8.10.0+24853+52b5af56RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.3.0-2.module+el8.9.0+19193+435404aeRHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-bundler, rubygem-bundler-doc0:1.16.1-5.module+el8.10.0+23088+750dc6caRHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.2.0-116.module+el8.10.0+24853+52b5af56RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.4.6-116.module+el8.10.0+24853+52b5af56RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-json, rubygem-json-debuginfo0:2.1.0-116.module+el8.10.0+24853+52b5af56RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-minitest0:5.10.3-116.module+el8.10.0+24853+52b5af56RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-mongo, rubygem-mongo-doc0:2.5.1-3.module+el8.10.0+24944+b1921893RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-mysql2, rubygem-mysql2-doc, rubygem-mysql2-debuginfo and 1 more0:0.4.10-4.module+el8.9.0+19193+435404aeRHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-net-telnet0:0.1.1-116.module+el8.10.0+24853+52b5af56RHSA-2026:73519
72 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8ruby, ruby-doc, ruby-libs and 1 more2.5.9-116.module_el8.10.0+4294+1072b022ALSA-2026:73519
AlmaLinux8ruby-irb, ruby-libs, ruby-devel2.5.9-116.module_el8.10.0+4293+d4d7c902ALSA-2026:73519
AlmaLinux8rubygem-abrt0.3.0-4.module_el8.5.0+2625+ec418553ALSA-2026:73519
AlmaLinux8rubygem-abrt-doc0.3.0-4.module_el8.10.0+3871+342e2c2fALSA-2026:73519
AlmaLinux8rubygem-bigdecimal1.3.4-116.module_el8.10.0+4293+d4d7c902ALSA-2026:73519
AlmaLinux8rubygem-bigdecimal1.3.4-116.module_el8.10.0+4294+1072b022ALSA-2026:73519
AlmaLinux8rubygem-bson4.3.0-2.module_el8.5.0+259+8cec6917ALSA-2026:73519
AlmaLinux8rubygem-bson4.3.0-2.module_el8.6.0+3170+4b08f9d4ALSA-2026:73519
AlmaLinux8rubygem-bson, rubygem-bson-doc4.3.0-2.module_el8.5.0+2625+ec418553ALSA-2026:73519
AlmaLinux8rubygem-bundler, rubygem-bundler-doc1.16.1-5.module_el8.10.0+3991+5e651d4eALSA-2026:73519
AlmaLinux8rubygem-did_you_mean1.2.0-116.module_el8.10.0+4293+d4d7c902ALSA-2026:73519
AlmaLinux8rubygem-io-console0.4.6-116.module_el8.10.0+4293+d4d7c902ALSA-2026:73519
21 more for AlmaLinux in the JSON.
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02RLSA-2026:73519
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.9.0+1536+5f79634eRLSA-2026:73519
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.9.0+1536+5f79634eRLSA-2026:73519
Rocky Linux8rubygem-bundler0:1.16.1-5.module+el8.10.0+1979+815637dfRLSA-2026:73519
Rocky Linux8rubygem-mysql20:0.4.10-4.module+el8.9.0+1536+5f79634eRLSA-2026:73519
Rocky Linux8rubygem-pg0:1.0.0-3.module+el8.9.0+1536+5f79634eRLSA-2026:73519

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat rates this vulnerability as Important because successful exploitation can allow an authenticated attacker to delete entire bucket contents or access unauthorized files, resulting in substantial integrity and availability loss. In typical deployments, the MongoDB Ruby gem is utilized within custom Ruby applications interacting with MongoDB datastores. The risk is elevated in environments where applications accept structured input from untrusted callers and forward it directly to GridFS file operations without validating that the identifier is a primitive type.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ruby:2.5-8100020260923114349.489197e6Fixed 2026-09-30RHSA-2026:73519

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-88030.

Attack patterns (CAPEC)

  • CAPEC-676 NoSQL Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON