|
| 1 | +--- |
| 2 | +layout: advisory |
| 3 | +title: 'CVE-2026-88030 (mongo): MongoDB Ruby Driver - Improper neutralization of special |
| 4 | + elements in data query logic in the GridFS component' |
| 5 | +comments: false |
| 6 | +categories: |
| 7 | +- mongo |
| 8 | +advisory: |
| 9 | + gem: mongo |
| 10 | + cve: 2026-88030 |
| 11 | + ghsa: 4ww7-gqv6-mffc |
| 12 | + url: https://nvd.nist.gov/vuln/detail/CVE-2026-88030 |
| 13 | + title: MongoDB Ruby Driver - Improper neutralization of special elements in data |
| 14 | + query logic in the GridFS component |
| 15 | + date: 2026-09-10 |
| 16 | + description: |- |
| 17 | + Improper neutralization of special elements in data query logic in |
| 18 | + the GridFS component of the MongoDB Ruby Driver can cause a |
| 19 | + caller-supplied structured file identifier to be interpreted as a |
| 20 | + query condition rather than as a literal identifier. An authenticated |
| 21 | + user who can influence the identifier passed by an affected application |
| 22 | + may obtain stored file content beyond the intended target or cause |
| 23 | + all GridFS file chunks in the affected bucket to be removed, |
| 24 | + rendering stored file content unreadable. |
| 25 | + cvss_v3: 8.3 |
| 26 | + cvss_v4: 6.1 |
| 27 | + unaffected_versions: |
| 28 | + - "< 2.0.0" |
| 29 | + patched_versions: |
| 30 | + - ">= 2.26.0" |
| 31 | + related: |
| 32 | + url: |
| 33 | + - https://nvd.nist.gov/vuln/detail/CVE-2026-88030 |
| 34 | + - https://rubygems.org/gems/mongo/versions/2.26.0 |
| 35 | + - https://github.com/mongodb/mongo-ruby-driver/releases/tag/v2.26.0 |
| 36 | + - https://github.com/mongodb/mongo-ruby-driver/pull/3105 |
| 37 | + - https://github.com/mongodb/mongo-ruby-driver/commit/ed62bb56c2e24c79113709331862d0aa3da74c6d |
| 38 | + - https://jira.mongodb.org/browse/RUBY-3941 |
| 39 | + - https://github.com/advisories/GHSA-4ww7-gqv6-mffc |
| 40 | + notes: | |
| 41 | + - cvss_v4 from GHSA and nvd.nist.gov URLs. |
| 42 | + - cvss_v3 from nvd.nist.gov URLs. |
| 43 | + - Found "Use exact match for file ID in GridFS methods (CVE-2026-88030)" |
| 44 | + reference above in commit and releases/tag URLs. |
| 45 | + - NOTE: gem name is "mongo" and repo name is "mongo-ruby-driver". |
| 46 | + - This is an unreviewed GHSA advisory. |
| 47 | +--- |
0 commit comments