1. Archivio CVE
  2. 2026
  3. CVE-2026-118581

CVE-2026-118581

6.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N 6.5 – Media

Descrizione

A BSON encoding component of the MongoDB Java Driver does not verify that an externally supplied raw document's self-declared length agrees with the extent of the byte range it is given before that range is copied into an outgoing database command. An application that wraps untrusted raw bytes in such a document and uses it as part of a command can therefore emit a structurally inconsistent message, causing the database to interpret attacker-supplied trailing content as additional fields of the surrounding command. No authentication to the driver or database is required beyond the ability to influence those bytes through the victim application, and no user interaction is needed. The result is unintended modification of the command actually executed, which can alter the data read or written under the application's credentials.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
mongodb java driver >= 5.8.0 < 5.14.0 –
Tutte le 8 vulnerabilità di Mongodb Java Driver

Tipo di vulnerabilità

CWE-943 Improper Neutralization of Special Elements in Data Query Logic

The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità, Controllo degli accessi Aggirare i meccanismi di protezione, Leggere i dati dell’applicazione, Modificare i dati dell’applicazione, Dipende dal contesto

Tutte le 165 CVE di tipo CWE-943, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org