Authenticated code execution via with-statement sandbox escape
Published Jan 27, 2026 · Updated Jan 27, 2026
Expression injection in n8n before 1.123.17, 2.0.0 through 2.4.4, and 2.5.0 allows remote authenticated users to execute code. The expression sandbox accepts a with statement that manipulates constructor resolution, exposing Function construction and Node.js child_process execution. Workflow creation or modification access is required; code runs as the n8n process and can read sensitive data, alter workflows, and invoke system operations.
Summary
What happened
Expression injection in n8n before 1.123.17, 2.0.0 through 2.4.4, and 2.5.0 allows remote authenticated users to execute code. The expression sandbox accepts a with statement that manipulates constructor resolution, exposing Function construction and Node.js child_process execution. Workflow creation or modification access is required; code runs as the n8n process and can read sensitive data, alter workflows, and invoke system operations.
The record
- CVE
- CVE-2026-1470
- Published
- Jan 27, 2026
- Updated
- Jan 27, 2026
- Vendor
- n8n
- Product
- n8n
- Classifications
- CWE-95, T1190, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 27, 2026CVE publishedPublication date reported by the CVE source.
- Jan 27, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.123.17
- Affected versionversion=2.0.0 <2.4.5
- Affected versionversion=2.5.0 <2.5.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- JFrog with-statement expression sandbox escape proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo