Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-85169high8.7

n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak

Impact

n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain an expression sandbox escape in the $fromAI handler, allowing an attacker with workflow-build privilege to potentially execute arbitrary code. The vulnerability is due to the $fromAI handler resolving a caller-supplied placeholder name without requiring it to be an own property. An attacker can walk the prototype chain to the Function constructor.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Affected packages

This source has no supported package-version data for matching. You can read the advisory here, but this record alone cannot power a dependency check.

Affected products

Vendor version evidence. Product records are separate from automatic dependency matching.

n8n-io · VulnCheck

n8n

2 ranges

Package identity

pkg:npm/n8nExplore n8n →

Identity supplied by VulnCheck. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

0 → before 1.123.73

semver versions

unaffected

1.123.73

semver versions

unknown

Other versions: unaffected

n8n-io · VulnCheck

n8n

2 ranges

Package identity

pkg:npm/n8nExplore n8n →

Identity supplied by VulnCheck. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

2.36.0 → before 2.36.2

semver versions

unaffected

2.36.2

semver versions

unknown

Other versions: unaffected

n8n-io · VulnCheck

n8n

2 ranges

Package identity

pkg:npm/n8nExplore n8n →

Identity supplied by VulnCheck. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

2.0.0-rc.0 → before 2.35.4

semver versions

unaffected

2.35.4

semver versions

unknown

Other versions: unaffected

Original source description

n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain an expression sandbox escape in the $fromAI handler. $fromAI resolved a caller-supplied placeholder name without requiring it to be an own property and admitted reserved keys; against a primitive input value it returned a live host-prototype reference. An attacker with workflow-build privilege can walk the prototype chain to the Function constructor and compile/execute arbitrary code in the main n8n process, leading to remote code execution.

Inside the record

Evidence available

Package identity
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-85169

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-94 ↗

Improper Control of Generation of Code ('Code Injection')

VulnCheck

Related →

Environment requirements

These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.

VulnCheck · platform conditions

Any condition may hold

Vulnerable product

cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*

Before: 1.123.73

Any condition may hold

Vulnerable product

cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*

From (inclusive): 2.36.0

Before: 2.36.2

Any condition may hold

Vulnerable product

cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*

From (inclusive): 2.0.0-rc.0

Before: 2.35.4

Original applicability statements
[
  {
    "nodes": [
      {
        "operator": "OR",
        "negate": false,
        "cpeMatch": [
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "1.123.73"
          }
        ]
      }
    ]
  },
  {
    "nodes": [
      {
        "operator": "OR",
        "negate": false,
        "cpeMatch": [
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "2.36.2",
            "versionStartIncluding": "2.36.0"
          }
        ]
      }
    ]
  },
  {
    "nodes": [
      {
        "operator": "OR",
        "negate": false,
        "cpeMatch": [
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "2.35.4",
            "versionStartIncluding": "2.0.0-rc.0"
          }
        ]
      }
    ]
  }
]
Contributing organizations · 2
VulnCheck

Assigning organization

2026-10-29
CISA-ADP

Additional data publisher

2026-09-04

What changed

Follow changes
No substantive changes have been recorded here yet. History starts when cve.new observes a change after tracking is enabled; earlier edits are not reconstructed.

Large field values are marked as truncated previews. Original source snapshots remain retained.

References

2 sources