GHSA-89P4-6H98-C7XM
Path Traversal in the n8n Node Redirects Public API Calls to Unintended Resources
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:P
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-89P4-6H98-C7XM divulgada · CVSS 8.1 (GitHub) | |
| Remediación | Parche 2.40.1 | n8n · 0 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
The built-in n8n node built its Public API request paths from a caller-supplied resource id without encoding or validating it, so a crafted id could redirect the call to a different resource while still using the stored API key. Where a workflow binds that id to untrusted input, an unauthenticated caller could read, modify or delete workflows and executions outside the intended scope, and reach a credential's secret by repointing a live workflow. Impact stays within the resource types the key already has scope for.
Patches
The issue has been fixed in n8n versions 1.123.80, 2.39.6, and 2.40.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 all workflows that use the n8n node and ensure that ID fields are not bound to expressions sourced from untrusted or externally supplied input.
- Restrict or disable public webhook endpoints that feed into workflows using the n8n node until the instance is patched.
- Review and rotate any API credentials that may have been exposed via workflows using the n8n node with expression-bound ID fields.
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 |
Corregida | 2.40.1 | 0 d | 2.47.7 no afectada |
1.123.802.39.62.40.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-89p4-6h98-c7xmLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
