GHSA-RX55-8QHX-4HWX
Dynamic Credentials Authorize Endpoint Leaks Session Token to Attacker-Controlled Resolver
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:L/SA:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-RX55-8QHX-4HWX divulgada · CVSS 8.5 (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 Dynamic Credentials authorize and revoke endpoints forwarded the caller's raw session token to the configured resolver, missing the check the execution path already applied. Since a workflow's fallback resolver is settable with plain workflow:update, a user who can register a resolver could capture any collaborator's — or the owner's — session during the ordinary "Connect your account" step, and with it read credentials they have no access to.
Patches
The issue has been fixed in n8n versions 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.
- Disable the Dynamic Credentials module if it is not required.
- Audit and revoke any custom global roles that carry the `credentialResolver:create` scope, limiting that scope to fully trusted administrators only.
- Review registered credential resolvers and remove any that are not recognized or point to unexpected URLs.
- Rotate session tokens and credentials for any users who may have triggered the "Connect your account" flow on a shared workflow with an externally-registered resolver.
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 |
2.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-rx55-8qhx-4hwxLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
