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

CVE-2026-144227

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

Descrizione

A prototype pollution weakness in MongoDB Compass's handling of user privilege information returned by a connected database server lets that server set properties on the shared object prototype in the Compass application process. Any party who controls a server that a user connects to can do this without credentials. The result is limited, unintended changes to application data and logic.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
mongodb compass >= 1.49.0 <= 1.49.8 –
mongodb compass >= 1.48.0 <= 1.48.2 –
mongodb compass >= 1.46.0 <= 1.46.11 –
mongodb compass >= 1.45.0 <= 1.45.4 –
mongodb compass >= 1.44.0 <= 1.44.7 –
mongodb compass >= 1.43.0 <= 1.43.6 –
mongodb compass >= 1.42.0 <= 1.42.5 –
mongodb compass 1.41.0 –
mongodb compass >= 1.40.0 <= 1.40.4 –
mongodb compass >= 1.39.0 <= 1.39.4 –
mongodb compass >= 1.38.0 <= 1.38.2 –
mongodb compass 1.37.0 –
mongodb compass >= 1.36.0 <= 1.36.4 –
mongodb compass 1.35.0 –
mongodb compass >= 1.34.0 <= 1.34.2 –
mongodb compass >= 1.33.0 <= 1.33.1 –
mongodb compass >= 1.32.0 <= 1.32.6 –
mongodb compass >= 1.31.0 <= 1.31.3 –
mongodb compass >= 1.30.0 <= 1.30.1 –
mongodb compass 1.29.6 –
Tutte le 10 vulnerabilità di Mongodb Compass

Tipo di vulnerabilità

CWE-1321 Prototype pollution: modifica non controllata del prototipo di un oggetto

Il prodotto riceve dall’esterno gli attributi da impostare in un oggetto, ma non impedisce che vengano modificati anche quelli del suo prototipo, alterando il comportamento di tutta l’applicazione (tipico di JavaScript).

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità Leggere i dati dell’applicazione, Modificare i dati dell’applicazione
Disponibilità Interruzione del servizio: arresto o riavvio

Come si previene

Sviluppo By freezing the object prototype first (for example, Object.freeze(Object.prototype)), modification of the prototype becomes impossible.
Architettura e progettazione By blocking modifications of attributes that resolve to object prototype, such as proto or prototype, this weakness can be mitigated.
Sviluppo · Validazione dell’input When handling untrusted objects, validating using a schema can be used.
Sviluppo By using an object without prototypes (via Object.create(null) ), adding object prototype attributes by accessing the prototype via the special attributes becomes impossible, mitigating this weakness.
Sviluppo Map can be used instead of objects in most cases. If Map methods are used instead of object attributes, it is not possible to access the object prototype or modify it.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 594 CVE di tipo CWE-1321, con andamento e prevenzione

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