AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

MongoDBGHSA-x24p-wj69-446q

RUBY-3941 Require exact match when reading/writing GridFS via ID

MongoDB

CVE-2026-88030 · Published Sep 15, 2026

Medium6.1
Fix: upgrade to 2.26.0 or later
GitHub advisory

Impact

When reading/writing via an ID with the GridFS API, require an exact match on the given ID. Otherwise, if a Hash is given in place of the ID, it may be interpreted as criteria, overriding the ID match.

Patches

Patch available in mongo >= 2.26.0

Workarounds

Ensure your existing workflow _only_ supports exact matching on the GridFS API.

References

[RUBY-3941](https://jira.mongodb.org/browse/RUBY-3941)

Affected versions

PackageAffectedFixed in
mongo
RubyGems
< 2.26.02.26.0
Details and references
CVSS 4.0
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
Severity from
GitHub (reviewed advisory)
Weakness
CWE-943

More MongoDB advisories

All MongoDB