Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-56777: n8n before 2.25.7 and 2.26.x before 2.26.2 contains an abstract syntax tree (AST) security validator bypass in

24
Routine
MEDIUM 5.0UPGRADE

CVE-2026-56777 is a medium-severity flaw (CVSS 5.0) affecting n8n. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

n8n before 2.25.7 and 2.26.x before 2.26.2 contains an abstract syntax tree (AST) security validator bypass in the Python Code node. An authenticated user with permission to create or modify workflows containing a Python Code node can bypass the validator and access the task executor module namespace. The issue only affects self-hosted instances where the Python Task Runner is enabled; where N8N_BLOCK_RUNNER_ENV_ACCESS is configured to allow it,

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score5.0 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.3% (top 75%)
CISA exploited listNo
WeaknessCWE-184
Published2026-06-30
Last modified2026-10-25
Publisher (CNA): VulnCheck · Vendor: n8n

Share: LinkedIn · X · Reddit

Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

n8n n8n UPGRADE
Affected: < 2.25.7 · >= 2.26.0 and < 2.26.2
Fixed in: 2.25.7, 2.26.2
Safe to downgrade to: a release before 2.26.0
1. Check installed version
npm ls n8n
2. UPGRADE to 2.25.7
npm install n8n@">=2.25.7"
3. If no update is available yet, DOWNGRADE to a release before 2.26.0
npm view n8n versions npm install n8n@"<2.26.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-56777?

n8n: upgrade to 2.25.7, 2.26.2. Exact commands for each OS are on this page.

Is CVE-2026-56777 being exploited?

CVE-2026-56777 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-56777 affect?

CVE-2026-56777 affects n8n. Severity is medium (CVSS 5.0). n8n before 2.25.7 and 2.26.x before 2.26.2 contains an abstract syntax tree (AST) security validator bypass in the Python Code node. An authenticated user with permission to create or modify workflows containing a Python Code node can bypas

How urgent is CVE-2026-56777?

Priority 24/100. No elevated risk signals yet.

Software pages

Python vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.