# CVE-2026-27577: n8n code injection in expression evaluation

Source: https://junglewise.ai/threats/cve-2026-27577-n8n-code-injection-in-expression-evaluation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-02-25. Updated: 2026-07-28  
License: CC BY 4.0 with a link back

CVE-2026-27577 · Severity: critical · CVSS 9.9 · Published 2026-02-25

n8n is an open-source workflow automation tool used to connect different software services and automate business tasks. A security vulnerability has been identified where an authorized user could execute unauthorized commands on the server hosting the application. This could lead to a complete system takeover, data theft, or disruption of business operations.

Technologies: [N8n](https://junglewise.ai/threats/technologies/n8n), [n8n (npm)](https://junglewise.ai/threats/technologies/npm-n8n). Vendors: [N8n](https://junglewise.ai/threats/vendors/n8n), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-27577 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-27577 being exploited in the wild.

**How severe is CVE-2026-27577?** Critical severity, with a CVSS score of 9.9, published 25 February 2026.

**Which products and versions are affected?** N8n < 1.123.22, >= 2.0.0 < 2.9.3, >= 2.10.0 < 2.10.1; n8n (npm) SEMVER:introduced=0,fixed=1.123.22.

**Is there a fix for CVE-2026-27577?** Yes. n8n (npm): upgrade to 1.123.22 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-27577 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-27577?** Check whether you run N8n or n8n (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- n8n (npm): upgrade to 1.123.22 or later

  ```sh
  npm install n8n@1.123.22
  ```


## Technical details

This vulnerability is classified as Code Injection (CWE-94) within the expression evaluation engine of n8n. It follows a previous related vulnerability (CVE-2025-68613) and involves the improper sanitization of user-supplied expressions in workflow parameters. An authenticated attacker with workflow creation or modification privileges can bypass existing sandbox restrictions to execute arbitrary system commands on the underlying host. The attack is reachable over the network and requires low privileges but no user interaction. The issue is resolved in versions 2.10.1, 2.9.3, and 1.123.22.

## Affected products

- n8n-io n8n < 1.123.22, >= 2.0.0 < 2.9.3, >= 2.10.0 < 2.10.1

## Identifiers

- CVE-2026-27577
- GHSA-vpcf-gvg4-6qwr

## Timeline

- 2026-02-25: advisory: Original GitHub Security Advisory published
- 2026-02-25: patched: Fixes committed to n8n repository
- 2026-02-25: disclosed

## References

- [https://docs.n8n.io/hosting/securing/overview](https://docs.n8n.io/hosting/securing/overview)
- [https://github.com/n8n-io/n8n/commit/1479aab2d32fe0ee087f82b9038b1035c98be2f6](https://github.com/n8n-io/n8n/commit/1479aab2d32fe0ee087f82b9038b1035c98be2f6)
- [https://github.com/n8n-io/n8n/commit/9e5212ecbc5d2d4e6f340b636a5e84be6369882e](https://github.com/n8n-io/n8n/commit/9e5212ecbc5d2d4e6f340b636a5e84be6369882e)
- [https://github.com/n8n-io/n8n/security/advisories/GHSA-v98v-ff95-f3cp](https://github.com/n8n-io/n8n/security/advisories/GHSA-v98v-ff95-f3cp)
- [https://github.com/n8n-io/n8n/security/advisories/GHSA-vpcf-gvg4-6qwr](https://github.com/n8n-io/n8n/security/advisories/GHSA-vpcf-gvg4-6qwr)

## Related threats

- [n8n path traversal in Databricks node](https://junglewise.ai/threats/cve-2026-119557-n8n-from-2-14-0-through-2-46-3-contains-a-path-traversal)
- [n8n remote code execution in deprecated Function nodes](https://junglewise.ai/threats/cve-2026-119408-n8n-before-2-42-6-2-43-x-before-2-43-3-and-3-x-before-3-0-1)
- [n8n Slack Trigger SSRF and token exfiltration](https://junglewise.ai/threats/cve-2026-118679-n8n-before-1-123-83-2-41-4-and-2-42-1-contains-a-server-side)
- [n8n prototype pollution in workflow history compaction](https://junglewise.ai/threats/cve-2026-118678-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-prototype)
- [n8n Local Gateway deep-link missing confirmation re-pairing](https://junglewise.ai/threats/cve-2026-118677-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-missing)
