GHSA-4V22-G448-H4RG
MongoDB Node Update Operations Can Modify Unintended Documents
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-4V22-G448-H4RG divulgada · CVSS 5.3 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
In the MongoDB node's Update and Find And Replace operations, the update key value taken from the incoming item was not sufficiently validated. Where a workflow passes untrusted input, such as a webhook body, to one of these operations, a caller could make the node match and overwrite documents other than the one the workflow intended, or insert new documents.
Patches
The issue has been fixed in n8n versions 1.123.89, 2.45.5, 2.46.1 and 3.0.1. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Audit active workflows that use the MongoDB node with Find And Replace or Update operations and ensure the `updateKey` value cannot be influenced by untrusted external data.
- Apply network-level controls to restrict access to webhook endpoints that feed into MongoDB update workflows.
- Disable the MongoDB node by adding `n8n-nodes-base.mongoDb` to the `NODES_EXCLUDE` environment variable if it is not required.
- Deactivate affected workflows until the instance is patched.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmn8n |
Sin parche | — | — | 2.47.7 afectada |
1.123.892.45.52.46.13.0.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/n8n-io/n8n/security/advisories/GHSA-4v22-g448-h4rgLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
