Descrizione
n8n is an open source workflow automation platform. Prior to versions 1.123.33 and 2.17.5, the dynamic-node-parameters endpoints did not verify whether the authenticated caller was authorized to use a supplied credential reference. An authenticated user with access to a shared workflow could supply a foreign credential ID in the request body, causing the backend to decrypt and use that credential in a helper execution path where the caller also controls the destination URL. This allowed the caller to force the backend to authenticate against attacker-controlled infrastructure using a credential belonging to another user, effectively exfiltrating a reusable API key. The issue is not limited to any single node type; any node that resolves credentials dynamically through these endpoints may be affected. This issue has been patched in versions 1.123.33, 2.17.5, and 2.18.0.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5.
Versioni da aggiornare
- N8n N8n: vulnerabili le versioni precedenti alla
1.123.33→ aggiornare alla1.123.33o successiva. - N8n N8n: vulnerabili le versioni dalla
2.17.0precedenti alla2.17.5→ aggiornare alla2.17.5o successiva.
Patch e advisory
- Advisory del vendor: github.com/n8n-io/n8n/security/advisories/GHSA-…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| N8n | N8n | < 1.123.33 | 1.123.33 |
| N8n | N8n | ≥ 2.17.0 < 2.17.5 | 2.17.5 |
Riferimenti
- Advisory del vendorhttps://github.com/n8n-io/n8n/security/advisories/GHSA-r4v6-9fqc-w5jr