Read the docs

Use-after-free in MongoDB Server lets read-only users read memory

Priority LOW 24CWE-416Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

MongoDB Server from 9.0.0 before 9.0.7 contains a use-after-free flaw (CWE-416) in its server-side JavaScript execution component. An authenticated user with only read privileges can submit a crafted database command that runs user-supplied JavaScript, causing a bounded amount of adjacent process memory to be returned in the result. This exposes information the user is not authorized to access, while integrity and availability are not affected.

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

Description from the CNA

A memory-management flaw in the server-side JavaScript execution component of MongoDB Server can allow an authenticated user holding only read privileges to cause the server to access memory that has already been released. By submitting a specially crafted database command that runs user-supplied JavaScript, the user can cause a bounded amount of adjacent process memory to be returned in the command's result. This results in the user obtaining information they are not authorized to access. Integrity and availability are not affected.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00381 32nd percentileScored 2026-11-16
Fix Fixed MongoDB Server (MongoDB): 9.0.7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

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

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBMongoDB Server9.0.0 to before 9.0.79.0.7Patch availableCNA
  • MongoDB Server VendorMongoDB Affected 9.0.0 to before 9.0.7 Fixed in 9.0.7 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*——MongoDB
  • cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* Versions — — ·MongoDB

Remediation

Upgrade MongoDB Server to version 9.0.7, which fixes this flaw.

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

  • Fix · CNA MongoDB Server (MongoDB) Fixed in 9.0.7

Fixed in the same release

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

  • Release ·

    MongoDB Server 9.0.7

    5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW

    Other records, highest priority first

    • TI-2026-89347 Missing authorization in MongoDB Server view validation exposes collectionsPriority MEDIUM 64
    • TI-2026-89348 Improper authorization in MongoDB Server sharded views exposes other databasesPriority LOW 31
    • TI-2026-89294 Use-after-free in MongoDB Server aggregation sub-pipelinesPriority LOW 31

Timeline

  1. 2026-11-10 Threatist record created from CVE-2026-120819
  2. 2026-11-10 Alias added: GHSA-89h3-wmrf-r95w
  3. 2026-11-13 CISA SSVC decision points changed

References

  • TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
  • TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
  • TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
  • TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
  • 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
See all 411 →

Sources