CVE-2026-54305
Description
n8n is an open source workflow automation platform. Prior to 1.123.55, 2.25.7, and 2.26.2, three EE endpoints used by the Dynamic Credentials feature accepted any authenticated n8n session without performing per-resource ownership or scope checks on the target workflow or credential. An authenticated user with no project membership or credential sharing relationship could enumerate credential identifiers, names, and types referenced by any private workflow in the instance, initiate an OAuth authorization flow against another user's credential to overwrite its stored tokens with tokens bound to an account they control, or revoke another user's stored credential tokens entirely. Workflows relying on a hijacked credential would subsequently execute under the attacker's OAuth identity, enabling data exfiltration to attacker-controlled external services and persistent takeover of integrations. Token revocation would break affected workflows. This vulnerability is fixed in 1.123.55, 2.25.7, and 2.26.2.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
n8nnpm | < 1.123.55 | 1.123.55 |
n8nnpm | >= 2.26.0, < 2.26.2 | 2.26.2 |
n8nnpm | >= 2.0.0-rc.0, < 2.25.7 | 2.25.7 |
Affected products
1Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-2j5h-858j-5mpfghsaADVISORY
- github.com/n8n-io/n8n/security/advisories/GHSA-2j5h-858j-5mpfnvdMitigationVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-54305ghsaADVISORY
News mentions
3- ⚡ Weekly Recap: WordPress RCE, SonicWall 0-Days, AI Service Attacks, SharePoint 0-Day and MoreThe Hacker News · Jul 20, 2026
- n8n Token Exchange Flaw Could Let Attackers Log In as Users From Another IssuerThe Hacker News · Jul 16, 2026
- n8n: 16 CVEs Disclosed in Single Batch — Credential Leaks, Prototype Pollution, and Sandbox EscapeVypr Intelligence · Jun 16, 2026