Urgent.News

What's breaking now, across thousands of outlets.

Tech

Securing Agentic AI Workflows in n8n: From Leaked API Keys to Encryption Key Compromise

Agentic AI expands the security boundary of workflow automation. An n8n agentic workflow does not just generate an answer. It uses stored credentials to act across source control, databases, cloud platforms, AI providers, and SaaS applications. A leaked n8n API key is therefore only the beginning of the attack path. At the center of that access is a single root of trust: the N8N_ENCRYPTION_KEY .…

Agentic AI workflows in n8n can expand the security boundary of automation. However, an exposed API key is just the beginning of potential attacks. The n8n_ENCRYPTION_KEY is central to the security of these workflows. Our research uncovered three vulnerabilities in how n8n handles signing and session secrets, and demonstrated how weak encryption keys can be recovered from public artifacts.

Additionally, we found 129 internet-accessible instances using known weak keys. An attacker could use CVE-2026-25053 to escalate an API key to access the encryption key and encrypted credentials. This report details the attack chain and provides a hardened configuration to prevent such compromises. The N8N_ENCRYPTION_KEY is the root of trust for n8n, with stored credentials and API access being primary targets.

Compromising this key affects stored credentials, token integrity, session authentication, and integration confidentiality.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Commit your Code: Takeaways

Commit Your Code is taking place in Dallas Sep 3&4. You can attend virtually for free or you can donate to them which goes to a charity. I will blog some of my takeaways.

  • Commit Your Code event held in Dallas on September 3-4
  • Leon Noel advises networking, commenting on posts for job interviews
  • Roxy Rodriguez-Becker advocates releasing apps for public feedback

Babashka 1.13.220 gets FFI

  • Babashka 1.13.220 introduces babashka.ffi for C library calls from scripts
  • API experimental but feedback encouraged from developers
  • Demo shows loading libraries and performing mathematical operations

More from Friday 4 September →