n8n
Affected
- introduced
0, fixed1.99.1(semver)
Fixed versions
1.99.1
Fix
- Fixed version
1.99.1npm install [email protected]
Advisory
Also known as: CVE-2025-52554
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:
wait node).An attacker with authenticated access can exploit this flaw to:
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:
/rest/executions/:id/stop endpoint via reverse proxy or API gateway.Medium Basis: The source's own band: MODERATE
0, fixed 1.99.1 (semver)1.99.1
1.99.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0