NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · n8n

GHSA-h3jj-5f3v-3685: n8n: Public API Execution Retry Authorization Bypass

mediumCVSS 4.0 5.3 · 3.1 6.4

The n8n Public API endpoint that retries executions checked for the `workflow:read` permission instead of `workflow:execute`. A user with read-only access to a shared workflow can retry its executions. Fixed in n8n 2.25.7 and 2.26.2. Only instances that share workflows are affected.

Published Jun 16, 2026 · Analysis Nov 2, 2026

What an attacker can do

n8n separates read access from execute access to a workflow. The retry-execution route of the Public API checked the weaker permission. Anyone who could read a shared workflow could therefore re-run its past executions, which the sharing owner never granted.

A retry runs the workflow again with its stored input, using the credentials attached to it. A read-only collaborator can thus trigger side effects: sending messages, writing to databases, calling third-party APIs or repeating payments. The advisory gives no data-theft path and rates the confidentiality and integrity impact as low, with no availability impact.

The attacker needs an authenticated n8n account that has been given read access to a workflow, and Public API access, which means an API key. Instances where workflows are shared across users or projects are affected. An instance with a single user and no sharing is not. The advisory gives neither the URL path nor request details of the endpoint.

Who is affected

n8n on npm below 2.25.7, plus 2.26.0 and 2.26.1. The exposure applies where workflows are shared with other users or across projects and the Public API is reachable. Check your version:

npm ls n8n

Then review which workflows are shared with read-only roles, and who holds Public API keys.

n8n

Ecosystem
npm
Affected
>= 2.26.0, < 2.26.2
Fixed in
2.26.2
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
< 2.25.7
Fixed in
2.25.7
Check
npm ls n8n

How to fix it

Upgrade to n8n 2.25.7 or 2.26.2, or later.

npm install -g [email protected]

The advisory offers two temporary measures that do not fully fix the problem: limit workflow sharing to fully trusted users, and restrict network access to the n8n Public API to trusted users.

How to tell if you were hit

The advisory lists no indicators. In the execution list, look for retried executions of shared workflows that were started by users who only hold read access. Check reverse proxy or access logs for calls to the Public API retry route from API keys belonging to those users. Compare against side effects in downstream systems, such as duplicate messages or repeated database writes.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

The Public API endpoint for retrying executions authorized access using workflow:read rather than workflow:execute. An authenticated user with read-only access to a shared workflow could use the Public API to retry executions of that workflow, bypassing the intended permission boundary between read and execute access.

This issue affects instances where workflows are shared with other users or across projects.

Patches

The issue has been fixed in n8n versions 2.25.7, and 2.26.2. 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 workflow sharing to fully trusted users only.
  • Restrict network access to the n8n Public API to trusted users only.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Credited to ksw9722.

Questions

Does GHSA-h3jj-5f3v-3685 have a CVE ID?

No. The advisory lists no CVE and no CVSS beyond its Moderate rating (4.0 score 5.3). Track it by the GHSA id.

Who can exploit this n8n retry-execution flaw?

An authenticated user who has read-only access to a shared workflow and can call the Public API. Single-user instances without sharing are not affected.

Which n8n versions fix it?

2.25.7 and 2.26.2 or later. Everything below 2.25.7, and 2.26.0 to 2.26.1, is vulnerable.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More n8n vulnerabilities

All n8n entries