Read the docs

Collection guard bypass in MongoDB Database Tools mongorestore

Priority LOW 25CWE-706Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · None · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.

Summary

MongoDB Database Tools versions from 100.4.0 before 100.20.1 contain a flaw in mongorestore. Inconsistent handling of the system.buckets. prefix when validating collection names lets a crafted name bypass special-collection guards (CWE-706). An operator who restores an untrusted dump with credentials that have user-management privileges on the destination can end up with an unauthorized database account, including one with the root role.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

Description from the CNA

MongoDB Database Tools mongorestore inconsistently handles the system.buckets. prefix when validating collection names in an untrusted dump. A specially crafted collection name can bypass special-collection guards and operator namespace filters, causing a restore to create an unauthorized user-chosen database account, including an account with the root role. Exploitation requires an operator to restore unauthorized user-controlled data using credentials with sufficient user-management privileges on the destination deployment. Excluding the admin namespace alone does not prevent this behavior. This issue affects MongoDB Database Tools versions 100.4.0 through versions before 100.20.1.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00174 6th percentileScored 2026-11-07
Fix Partial Database Tools (MongoDB): 100.20.1Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBDatabase Tools100.4.0 to before 100.20.1100.20.1Patch availableCNA
  • Database Tools VendorMongoDB Affected 100.4.0 to before 100.20.1 Fixed in 100.20.1 Patch available CNA

Remediation

Upgrade MongoDB Database Tools to version 100.20.1. Red Hat lists Red Hat Ceph Storage 9 as affected, and no fix plan is available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

  • Fix · CNA Database Tools (MongoDB) Fixed in 100.20.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    MongoDB Database Tools 100.20.1

    4 records Highest priority Priority LOW 4 LOW

    Other records, highest priority first

    • TI-2026-84396 mongofiles may disclose GridFS content via stored filenamePriority LOW 26
    • TI-2026-84405 mongorestore may restore encoded collection names into an unintended collectionPriority LOW 10
    • TI-2026-84397 MongoDB mongofiles symlink flaw writes files outside working directoryPriority LOW 6

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 9AffectedNo fix yet

Timeline

  1. 2026-11-03 Threatist record created from CVE-2026-119675
  2. 2026-11-03 CISA SSVC decision points changed
  3. 2026-11-03 Alias added: GHSA-fg58-w2p8-9j7f
  4. 2026-11-06 Affected versions changed · Red Hat
  5. 2026-11-06 CVSS score added · Red Hat

References

  • TI-2019-08023 Code injection in mongo-express KEVCVSS 3.1CRITICAL 9.9
  • TI-2025-13542 Zlib compressed protocol header length confusion may allow memory read KEVCVSS 4.0HIGH 8.7
  • TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
  • TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
  • TI-2026-79422 Unbounded memory growth in MongoDB C# Driver BSON deserialization CVSS 4.0HIGH 8.2
  • TI-2026-79427 Authentication bypass via issuer-and-serial-only certificate equality CVSS 4.0HIGH 7.6
See all 376 →

Sources