n8n is vulnerable to Improper Authorization through its `/stop` endpoint
CVE-2025-52554 · GHSA-gq57-v332-7666 · published 2025-07-03 · updated 2025-07-10
- Severity
- Medium
- CVSS score
- 4.3
- Chance of exploitation (EPSS)
- 0.37%
- Fixed in
- 1.99.1
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
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 wait node). An attacker with authenticated access can exploit this flaw to: Disrupt other users’ workflow executions.
Upgrade n8n to 1.99.1 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
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.
To mitigate this issue without upgrading: Restrict access to the /rest/executions/:id/stop endpoint via reverse proxy or API gateway.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| n8n | npm | < 1.99.1 | 1.99.1 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- CriticalLangflow: Unauthenticated Flow Execution via Webhook Authentication Bypasslangflow
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- Criticaln8n Has an Arbitrary File Read via Git Noden8n, n8n, n8n
- Criticaln8n: HTTP Request Node Pagination Prototype Pollution to RCEn8n, n8n, n8n
- Criticaln8n Has an XML Node Prototype Pollution Patch Bypassn8n, n8n, n8n
- Criticaln8n has XML Node Prototype Pollution that to RCEn8n, n8n, n8n
- Criticaln8n has Prototype Pollution in XML Webhook Body Parser that Leads to RCEn8n, n8n, n8n
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.