Ptechhub
  • News
  • Industries
    • Enterprise IT
    • AI & ML
    • Cybersecurity
    • Finance
    • Telco
  • Brand Hub
    • Lifesight
  • Blogs
No Result
View All Result
  • News
  • Industries
    • Enterprise IT
    • AI & ML
    • Cybersecurity
    • Finance
    • Telco
  • Brand Hub
    • Lifesight
  • Blogs
No Result
View All Result
PtechHub
No Result
View All Result

Critical n8n Flaws Allow Remote Code Execution and Exposure of Stored Credentials

The Hacker News by The Hacker News
March 11, 2026
Home Cybersecurity
Share on FacebookShare on Twitter


Ravie LakshmananMar 11, 2026 Vulnerability / Application Security

Cybersecurity researchers have disclosed details of two now-patched security flaws in the n8n workflow automation platform, including two critical bugs that could result in arbitrary command execution.

The vulnerabilities are listed below –

  • CVE-2026-27577 (CVSS score: 9.4) – Expression sandbox escape leading to remote code execution (RCE)
  • CVE-2026-27493 (CVSS score: 9.5) – Unauthenticated expression evaluation via n8n’s Form nodes

“CVE-2026-27577 is a sandbox escape in the expression compiler: a missing case in the AST rewriter lets process slip through untransformed, giving any authenticated expression full RCE,” Pillar Security researcher Eilon Cohen, who discovered and reported the issues, said in a report shared with The Hacker News.

The cybersecurity company described CVE-2026-27493 as a “double-evaluation bug” in n8n’s Form nodes that could be abused for expression injection by taking advantage of the fact that the form endpoints are public by design and require neither authentication nor an n8n account.

All it takes for successful exploitation is to leverage a public “Contact Us” form to execute arbitrary shell commands by simply providing a payload as input into the Name field.

In an advisory released late last month, n8n said CVE-2026-27577 could be weaponized by an authenticated user with permission to create or modify workflows to trigger unintended system command execution on the host running n8n via crafted expressions in workflow parameters.

N8n also noted that CVE-2026-27493, when chained with an expression sandbox escape like CVE-2026-27577, could “escalate to remote code execution on the n8n host.” Both vulnerabilities affect the self-hosted and cloud deployments of n8n –

  • < 1.123.22, >= 2.0.0 < 2.9.3, and >= 2.10.0 < 2.10.1 – Fixed in versions 2.10.1, 2.9.3, and 1.123.22

If immediate patching of CVE-2026-27577 is not an option, users are advised to limit workflow creation and editing permissions to fully trusted users and deploy n8n in a hardened environment with restricted operating system privileges and network access.

As for CVE-2026-27493, n8n recommends the following mitigations –

  • Review the usage of form nodes manually for the above-mentioned preconditions.
  • Disable the Form node by adding n8n-nodes-base.form to the NODES_EXCLUDE environment variable.
  • Disable the Form Trigger node by adding n8n-nodes-base.formTrigger to the NODES_EXCLUDE environment variable.

“These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures,” the maintainers cautioned.

Pillar Security said an attacker could exploit these flaws to read the N8N_ENCRYPTION_KEY environment variable and use it to decrypt every credential stored in n8n’s database, including AWS keys, database passwords, OAuth tokens, and API keys.

N8n versions 2.10.1, 2.9.3, and 1.123.22 also resolve two more critical vulnerabilities that could also be abused to achieve arbitrary code execution –

  • CVE-2026-27495 (CVSS score: 9.4) – An authenticated user with permission to create or modify workflows could exploit a code injection vulnerability in the JavaScript Task Runner sandbox to execute arbitrary code outside the sandbox boundary.
  • CVE-2026-27497 (CVSS score: 9.4) – An authenticated user with permission to create or modify workflows could leverage the Merge node’s SQL query mode to execute arbitrary code and write arbitrary files on the n8n server.

Besides limiting workflow creation and editing permissions to trusted users, n8n has outlined the workarounds below for each flaw –

  • CVE-2026-27495 – Use external runner mode (N8N_RUNNERS_MODE=external) to limit the blast radius.
  • CVE-2026-27497 – Disable the Merge node by adding n8n-nodes-base.merge to the NODES_EXCLUDE environment variable.

While n8n makes no mention of any of these vulnerabilities being exploited in the wild, users are advised to keep their installations up-to-date for optimal protection.



Source link

The Hacker News

The Hacker News

Next Post
Global Times: ‘OpenClaw craze’ inspires the future, builds sustainable innovation capabilities on a safe path

Global Times: 'OpenClaw craze' inspires the future, builds sustainable innovation capabilities on a safe path

Recommended.

The 20 MSP CEO Tim Conkle On The ‘Abrupt’ Departure of Kaseya’s Fred Voccola And His Advice For The Next CEO

The 20 MSP CEO Tim Conkle On The ‘Abrupt’ Departure of Kaseya’s Fred Voccola And His Advice For The Next CEO

January 15, 2025
MSPs To MSSPs: Putting Their Own Stamp On Security Services

MSPs To MSSPs: Putting Their Own Stamp On Security Services

April 8, 2025

Trending.

HeyGears Launches Reflex 2 Series 3D Printers – Enabling Users to Go Beyond Prototypes and Start Production

HeyGears Launches Reflex 2 Series 3D Printers – Enabling Users to Go Beyond Prototypes and Start Production

October 24, 2025
BuzzRx® Kicks Off Basketball Ticket Giveaway with “Pronounce that Prescription” Social Game

BuzzRx® Kicks Off Basketball Ticket Giveaway with “Pronounce that Prescription” Social Game

February 4, 2025
Huawei en Marokkaanse overheid stimuleren nationale onderwijstransformatie met DigiSchool-project

Huawei en Marokkaanse overheid stimuleren nationale onderwijstransformatie met DigiSchool-project

December 31, 2024
AI enters its ‘grassroots backlash’ era | Computer Weekly

AI enters its ‘grassroots backlash’ era | Computer Weekly

February 11, 2026
NetEase Announces Fourth Quarter and Fiscal Year 2025 Unaudited Financial Results

NetEase Announces Fourth Quarter and Fiscal Year 2025 Unaudited Financial Results

February 11, 2026

PTechHub

A tech news platform delivering fresh perspectives, critical insights, and in-depth reporting — beyond the buzz. We cover innovation, policy, and digital culture with clarity, independence, and a sharp editorial edge.

Follow Us

Industries

  • AI & ML
  • Cybersecurity
  • Enterprise IT
  • Finance
  • Telco

Navigation

  • About
  • Advertise
  • Privacy & Policy
  • Contact

Subscribe to Our Newsletter

  • About
  • Advertise
  • Privacy & Policy
  • Contact

Copyright © 2025 | Powered By Porpholio

No Result
View All Result
  • News
  • Industries
    • Enterprise IT
    • AI & ML
    • Cybersecurity
    • Finance
    • Telco
  • Brand Hub
    • Lifesight
  • Blogs

Copyright © 2025 | Powered By Porpholio