GitGuardian researchers identified 321 n8n instances that were vulnerable due to API tokens exposed in public GitHub commits. A scan of public GitHub commits revealed 4,576 unique credentials associated with 1,255 hostnames. Of the 896 reachable instances tested, 36% (321 instances) accepted at least one leaked token, granting authenticated access.
Attackers can use these leaked tokens to access sensitive data and downstream credentials without exploiting any software vulnerabilities. The researchers demonstrated four practical attack techniques using only documented REST API functionality and standard HTTP requests. This method allows access to workflow definitions, execution data, and in some configurations, the extraction of underlying credential values.
n8n is an open-source, low-code workflow automation platform with extensive integrations, including databases, source code repositories, and cloud environments. Organizations use n8n to connect internal tools and orchestrate API integrations. The platform's ability to store and manage credentials for these integrations makes it a high-value target for attackers once an API token is compromised.
While n8n encrypts credentials at rest using a master secret (N8N_ENCRYPTION_KEY), these credentials must be decrypted during workflow execution. An attacker with sufficient API privileges from a leaked token can reference these credentials in new workflows, effectively making the n8n instance use them on the attacker's behalf to access connected services.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
GitGuardian researchers discovered 321 n8n instances that accepted API tokens exposed in public GitHub commits, allowing unauthorized access to sensitive data and downstream credentials. This exposure affects a significant portion of reachable instances and demonstrates how attackers can bypass security measures without exploiting software vulnerabilities.