Return to Threats

n8n Token Exchange Flaw Could Let Attackers Log In as Users From Another Issuer

thehackernews.com 2026-07-16 SaaS AI risk High

Executive Summary

n8n Enterprise matched incoming JWTs on sub alone, ignoring issuer, letting tokens from one issuer log in as users from another.

What Happened

n8n, the workflow automation platform, handed out the wrong accounts at login. On Enterprise instances configured to trust more than one external token issuer, it matched an incoming JWT to a local user on the sub claim alone and ignored iss. A valid token from issuer A carrying a sub that belongs to someone under issuer B logged you in as them. Their password never

Affected Products

  • n8n

Vulnerability / Attack Technique

Token issuer confusion

Technical Mechanism

Missing issuer check.

AI Security Category

Not AI-specific

RealGround Analysis

Authentication flaw.

Recommended Controls

  • Update n8n

Related RealGround Service

AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.

Sources

thehackernews.com: https://thehackernews.com/2026/07/n8n-token-exchange-flaw-could-let.html

Summary and analysis written by RealGround from the source above; last updated 2026-10-18.

Talk to AI CISO