CVE-2026-13076
MongoDB Análise e mitigação de vulnerabilidades

Visão geral

CVE-2026-13076 is a Denial of Service vulnerability in MongoDB Server's aggregation framework that allows an authenticated user to cause the mongod process to be terminated by the operating system under memory pressure. The vulnerability affects MongoDB Server versions 8.3.0 through 8.3.7 (exclusive), and was published on July 22, 2026. It has a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 7.1 (High) (GitHub Advisory).

Detalhes técnicos

The root cause is classified as CWE-770 (Allocation of Resources Without Limits or Throttling): a specific data type conversion operation within MongoDB's aggregation framework consumes disproportionate amounts of memory without adequate resource limits or throttling. An attacker exploits this by crafting and executing an aggregation query that triggers the problematic type conversion, causing the mongod process to exhaust available memory and be killed by the OS out-of-memory (OOM) killer. Exploitation requires two preconditions: the attacker must have write access to the database and the ability to execute aggregation queries — meaning unauthenticated users cannot exploit this vulnerability (GitHub Advisory, MongoDB Jira).

Impacto

Successful exploitation results in a complete availability loss of the affected mongod process, as the operating system terminates it under memory pressure. There is no impact to confidentiality or data integrity — the vulnerability is purely a Denial of Service condition. Applications and services dependent on the MongoDB instance would experience an outage until the mongod process is restarted, and repeated exploitation could result in sustained unavailability (GitHub Advisory).

Etapas de exploração

  1. Obtain Authenticated Access: Acquire valid MongoDB credentials with write access to at least one database and permission to run aggregation queries (e.g., through credential theft, insider access, or a compromised application account).
  2. Connect to the MongoDB Instance: Use a MongoDB client (e.g., mongosh, PyMongo, or the MongoDB driver) to connect to the target mongod instance on its default port (27017) or configured port.
  3. Craft a Malicious Aggregation Query: Construct an aggregation pipeline that triggers the specific data type conversion operation known to cause disproportionate memory consumption. The exact operator or conversion type is not publicly disclosed, but it involves a type conversion stage within the aggregation framework.
  4. Execute the Query: Run the crafted aggregation pipeline against a collection in the database. The mongod process begins consuming excessive memory during the conversion operation.
  5. Trigger OOM Termination: As memory consumption grows unchecked, the operating system's OOM killer terminates the mongod process, causing a denial of service for all connected clients and applications (GitHub Advisory, MongoDB Jira).

Indicadores de compromisso

  • Logs: Sudden mongod process termination entries in system logs (e.g., /var/log/syslog or /var/log/messages) with OOM killer messages such as Out of memory: Kill process [PID] (mongod); MongoDB logs showing aggregation queries with type conversion operations immediately before the crash.
  • Process: Unexpected termination of the mongod process without a graceful shutdown signal; repeated restarts of the MongoDB service in a short time window.
  • Network: Aggregation query traffic from an authenticated user account that is unusual in frequency or volume, particularly targeting type conversion operations in the aggregation pipeline.
  • System Metrics: Sudden spike in memory consumption by the mongod process to near-system-limit levels, followed by process termination, visible in monitoring tools (e.g., top, htop, Prometheus/Grafana MongoDB metrics).

Mitigação e soluções alternativas

MongoDB has released a patch in version 8.3.7; users running MongoDB Server 8.3.0 through 8.3.6 should upgrade to 8.3.7 or later (GitHub Advisory, MongoDB Jira). As interim workarounds, restrict aggregation query execution and database write access to only trusted and necessary users by applying the principle of least privilege. Additionally, implement OS-level memory limits (e.g., cgroups) on the mongod process and configure MongoDB's operationProfiling and query rate limiting to detect and throttle abnormal aggregation workloads.

Recursos adicionais


OrigemEste relatório foi gerado usando IA

Relacionado MongoDB Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploração do CISA KEV

Tem correção

Data de publicação

CVE-2026-9737HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NãoSimJul 22, 2026
CVE-2026-13077HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NãoSimJul 22, 2026
CVE-2026-13076HIGH7.1
  • MongoDB logoMongoDB
  • mongodb
NãoSimJul 22, 2026
CVE-2026-13075HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NãoSimJul 22, 2026
CVE-2026-13078MEDIUM6.3
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NãoSimJul 22, 2026

Avaliação de vulnerabilidade gratuita

Compare sua postura de segurança na nuvem

Avalie suas práticas de segurança na nuvem em 9 domínios de segurança para comparar seu nível de risco e identificar lacunas em suas defesas.

Solicitar avaliação

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades