n8n is vulnerable to Improper Authorization through its `/stop` endpoint
Summary
An authorization vulnerability was discovered in the /rest/executions/:id/stop endpoint of n8n. An authenticated user can stop workflow executions that they do not own or that have not been shared with them, leading to potential business disruption.
Impact
This is an improper authorization vulnerability. While most API methods enforce user-scoped access to workflow execution IDs, the /stop endpoint fails to do so. An attacker can guess or enumerate execution IDs (which are sequential and partially exposed via verbose error messages) and terminate active workflows initiated by other users.
Who is impacted:
- Environments where multiple users with varying trust levels share access to the same n8n instance.
- All users running long-running or time-sensitive workflows (e.g., using the
waitnode).
An attacker with authenticated access can exploit this flaw to:
- Disrupt other users’ workflow executions.
- Cause denial of service for business-critical automations.
Patches
The issue was addressed in https://github.com/n8n-io/n8n/pull/16405. Users should upgrade to version >= 1.99.1.
Users should upgrade to this version or later to ensure proper authorization checks are enforced before stopping workflow executions.
Workarounds
To mitigate this issue without upgrading:
- Restrict access to the
/rest/executions/:id/stopendpoint via reverse proxy or API gateway.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Paquete de npm | n8n | < 1.99.1 | 1.99.1 |
Referencias
- https://github.com/n8n-io/n8n/security/advisories/GHSA-gq57-v332-7666
- https://nvd.nist.gov/vuln/detail/CVE-2025-52554
- https://github.com/n8n-io/n8n/pull/16405
- https://github.com/dudanogueira/n8n/commit/ca2f90c7fbaa1d661ade2f45d587d9469bc287e1
- https://github.com/n8n-io/n8n/commit/e5edc60e344924230baafb11fa1f0af788e9ca9a
- https://github.com/n8n-io/n8n
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N- Debilidad (CWE)
CWE-862- Plataforma
- npm
- Paquete
n8n- Publicada
- 03.07.2025
- Actualizado
- 11.10.2026 10:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-gq57-v332-7666 - CC BY 4.0
Historial de vulnerabilidades: n8n
Todas las vulnerabilidades publicadas de este paquete (Paquete de npm), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 156
- Primera → última
- 05.2023 09.2026
- Sin corrección
- 1
- Explotada en ataques
- 1
Distribución por gravedad
- Crítica 24
- Alta 58
- Media 74
Divulgaciones por año
- 2023: 3
- 2024: 0
- 2025: 14
- 2026: 139
-
n8n is vulnerable to Improper Authorization through its `/stop` endpoint esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.