What Happened
GitGuardian researchers found 321 n8n instances accepting API tokens exposed in public GitHub commits and demonstrated four ways attackers could use them to access sensitive data and downstream credentials without exploiting a software vulnerability. We scanned public GitHub commits for exposed n8n API tokens and identified 4,576 unique credentials associated with 1,255 hostnames. Of the 896
Why It Matters
The article reports that GitGuardian researchers scanned public GitHub commits and found 4,576 unique n8n API tokens tied to 1,255 hostnames, with 321 of 896 reachable instances still accepting at least one leaked token, enabling authenticated access without exploiting a software vulnerability.[1][5][4] These valid tokens can expose workflow definitions, execution data, variables, data tables, and in some configurations allow attackers to use or even extract underlying stored credentials, leading to downstream secret theft across connected services.[1][5][4] From a RealGround perspective, this represents a significant data leakage and credential-compromise risk for any AI or automation workflows orchestrated through n8n, especially where those workflows call AI models or store model-access keys. Organizations should implement systematic secret scanning and revocation, harden CI/CD and Git hygiene, and continuously red-team automation and AI integrations to detect exposed credentials and unauthorized workflow or data access early.
RealGround Analysis
This signal maps to data leakage. Organizations using AI agents, LLM APIs, SaaS integrations, or sensitive data workflows should review whether this class of issue could create unauthorized tool execution, data leakage, weak approval gates, or unmanaged supply-chain exposure.
Recommended Actions
- Restrict AI agent tool permissions and production write paths.
- Review sensitive data access across prompts, logs, embeddings, memory, and SaaS integrations.
- Add human approval workflows for high-impact or state-changing actions.
- Run prompt injection and indirect prompt injection tests against affected workflows.
- Document the owner, control gap, and remediation deadline for this risk class.
Source
https://thehackernews.com/2026/08/leaked-n8n-api-tokens-exposed-live.html
