What's Happening?
GitGuardian researchers have discovered that 321 n8n instances were vulnerable to credential theft due to exposed API tokens found in public GitHub commits. These tokens allowed unauthorized access to sensitive data and downstream credentials without
exploiting any software vulnerabilities. The research identified 4,576 unique credentials associated with 1,255 hostnames, with 321 instances accepting at least one leaked token. The n8n platform, used for workflow automation, can expose workflow definitions and execution data, posing a significant security risk. The study demonstrated four attack techniques using standard HTTP requests to access sensitive information, emphasizing the need for organizations to revoke exposed tokens and review their security measures.
Why It's Important?
The exposure of n8n API tokens highlights the broader issue of credential management and security in automation platforms. As organizations increasingly rely on such platforms to connect various internal systems, the risk of unauthorized access to sensitive data grows. This incident underscores the importance of robust security practices, including regular credential rotation and monitoring for unauthorized changes. The potential impact extends beyond the n8n platform, affecting connected databases, cloud services, and other critical systems. Organizations must prioritize securing their automation environments to prevent data breaches and protect their digital assets.
What's Next?
Organizations using n8n should immediately revoke any exposed API tokens and assess the potential impact on their systems. This includes reviewing accessible workflows, data, and credentials, and rotating any potentially compromised credentials. Continuous monitoring for anomalous account behaviors and setting up per-user spend limits can help detect and mitigate unauthorized access. Additionally, leveraging AI-powered security tools can provide integrated protection and help establish behavioral baselines to identify compromised accounts. As the threat landscape evolves, organizations must remain vigilant and proactive in securing their automation platforms.











