Read the docs

Use-After-Free in MongoDB Server Plan Cache Leads to Information Disclosure

Priority LOW 26CWE-416Published · Updated

Key facts

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

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

Summary

A use-after-free in the MongoDB Server classic query engine plan cache affects MongoDB Server from 9.0.0 before 9.0.7, from 8.3.0 before 8.3.16, from 8.0.0 before 8.0.37 and from 7.0.0 before 7.0.48. Under certain query conditions, an unowned reference to data from an earlier command is kept in cached plan statistics, and after that memory is freed, a later diagnostic command can read freed heap memory. An authenticated attacker can receive sensitive server process memory contents, and under certain heap reuse conditions the server may crash.

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

Description from the CNA

A use-after-free issue exists in the MongoDB server’s classic query engine plan cache. Under certain query conditions, an unowned reference to data from an earlier command can be retained in cached plan statistics. After the originating memory is freed, a subsequent diagnostic command serializing those statistics can read freed heap memory, potentially returning sensitive server process memory contents to the authenticated client. Under certain heap reuse conditions, this may also cause the server to crash.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00263 18th percentileScored 2026-11-16
Fix Fixed MongoDB Server (MongoDB): 9.0.7, 8.3.16, 8.0.37 +1

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.7; 8.3.0 to before 8.3.16; 8.0.0 to before 8.0.37; 7.0.0 to before 7.0.489.0.7, 8.3.16, 8.0.37, 7.0.48Patch availableCNA
  • MongoDB Server VendorMongoDB Affected 9.0.0 to before 9.0.7; 8.3.0 to before 8.3.16; 8.0.0 to before 8.0.37; 7.0.0 to before 7.0.48 Fixed in 9.0.7, 8.3.16, 8.0.37, 7.0.48 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 9.0.7, 8.3.16, 8.0.37 or 7.0.48, depending on the release line in use.

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

  • Fix · CNA MongoDB Server (MongoDB) Fixed in 9.0.7, 8.3.16, 8.0.37, 7.0.48

Fixed in the same release

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

  • Release ·

    MongoDB Server 7.0.48, 8.0.37 and 2 more versions

    13 records Highest priority Priority HIGH 3 HIGH, 3 MEDIUM, 7 LOW

    Other records, highest priority first

    • TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative CommandPriority HIGH 72
    • TI-2026-89289 Incorrect authorization in MongoDB Server allows admin accessPriority HIGH 72
    • TI-2026-89281 Privilege escalation via fail-open user lookup in MongoDB X.509 guardPriority HIGH 68

Timeline

  1. 2026-11-10 Threatist record created from CVE-2026-120811
  2. 2026-11-10 Alias added: GHSA-3r42-9858-556g
  3. 2026-11-12 Priority changed: MEDIUM → LOW
  4. 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