SECURITYHIGHCVE-2026-8053

CVE-2026-8053: MongoDB Time-Series Out-of-Bounds Write

An authenticated user with database write privileges can trigger an out-of-bounds memory write in the mongod process via a flaw in MongoDB Server's...

Dylan H.

Security Team

May 13, 2026
3 min read
CVE-2026-8053: MongoDB Time-Series Out-of-Bounds Write

Affected Products

  • MongoDB Server (time-series collections)

Overview

CVE-2026-8053 is a high-severity memory safety vulnerability in MongoDB Server affecting the time-series collection subsystem. An authenticated user holding database write privileges can craft a malicious write operation that triggers an out-of-bounds (OOB) memory write in the mongod process, potentially leading to process crashes or arbitrary code execution.

The flaw originates from an inconsistency in the internal field-name-to-index mapping within the time-series bucket implementation, causing the engine to write past the bounds of an allocated memory region.

Vulnerability Details

FieldDetails
CVE IDCVE-2026-8053
CVSS Score8.8 (High)
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow (database write)
User InteractionNone
ScopeChanged
ImpactConfidentiality: High, Integrity: High, Availability: High

Affected Products

MongoDB Server versions with time-series collection support enabled. Deployments using time-series collections with write-accessible roles granted to partially-trusted users are at greatest risk.

Technical Analysis

Time-series collections in MongoDB use an internal bucketing mechanism that maps measurement field names to bucket index positions. The bug arises when the field-name-to-index mapping table is not properly sized or validated for certain edge-case field configurations, allowing a crafted write to advance an internal pointer beyond the end of the allocated buffer.

Because the mongod process handles all write operations, a successful exploit can:

  • Crash the mongod process — causing a denial-of-service for all connected clients
  • Corrupt adjacent memory regions — potentially overwriting internal state in ways that affect query results or index integrity
  • Lead to code execution in scenarios where the attacker controls the contents of the out-of-bounds write

The attack requires only low-privilege, authenticated database access with write capability — a common permission level for application service accounts.

Impact

Any MongoDB deployment exposing time-series collections to users with write access should treat this as a high-priority patch. Multi-tenant environments and SaaS platforms built on MongoDB are particularly exposed if application-level users can write to time-series collections.

Mitigation

  1. Patch immediately — Apply the official MongoDB fix when available via MongoDB's advisory portal
  2. Restrict write access to time-series collections to trusted principals only
  3. Monitor for anomalous crashes — unexpected mongod process restarts may indicate exploitation attempts
  4. Audit roles — Ensure no unnecessary write grants exist on time-series collections in production

References