Read the docs

Use-after-free read in MongoDB Server SBE engine during $unwind

Priority LOW 27CWE-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 · High
Fix status
Fixed

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

Summary

MongoDB Server versions from 9.0.0 before 9.0.7, from 8.3.0 before 8.3.16, and from 8.0.0 before 8.0.37 are affected. A missing state-preservation check in the SBE engine lets a value be freed while downstream stages still use it, a use-after-free (CWE-416) that occurs when aggregation pipelines use $unwind on time-series collections. An authenticated user with low privileges can craft a pipeline to read recycled server heap memory in query results or crash the server. The issue is only triggerable when a non-default SBE-related server parameter is enabled.

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

Description from the CNA

A use-after-free read issue exists in MongoDB’s SBE (Slot-Based Execution) engine when processing aggregation pipelines with $unwind on time-series collections. An internal error in state-preservation logic can cause a value still referenced by downstream stages to have its underlying memory freed prematurely. An authenticated user can craft an aggregation pipeline under specific conditions to trigger this condition, potentially reading recycled server heap memory in query results or crashing the server. This issue is only triggerable when a non-default server parameter related to the SBE engine is enabled.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00369 31st percentileScored 2026-11-16
Fix Fixed MongoDB Server (MongoDB): 9.0.7, 8.3.16, 8.0.37

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.379.0.7, 8.3.16, 8.0.37Patch 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 Fixed in 9.0.7, 8.3.16, 8.0.37 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, or 8.0.37 or later.

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

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

Fixed in the same release

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

  • Release ·

    MongoDB Server 8.0.37, 8.3.16, 9.0.7

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2026-89288 MongoDB Server sharding flaw lets shard admins act beyond scopePriority LOW 35
    • TI-2026-89293 Uncontrolled resource use in MongoDB Server causes denial of servicePriority LOW 24

Timeline

  1. 2026-11-10 Threatist record created from CVE-2026-120809
  2. 2026-11-10 Alias added: GHSA-3x8p-q9c8-5g87
  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