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
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 score | 5.0 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 75%) |
| CISA exploited list | No |
| Weakness | CWE-184 |
| Published | 2026-06-30 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
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
Related CVEs
- CVE-2026-59206 HIGH 7.1 UPGRADE n8n is an open source workflow automation platform
- CVE-2026-59207 MEDIUM 6.5 UPGRADE n8n is an open source workflow automation platform
- CVE-2026-59209 MEDIUM 6.5 UPGRADE n8n is an open source workflow automation platform
- CVE-2026-59208 MEDIUM 6.8 UPGRADE n8n is an open source workflow automation platform
- CVE-2026-58661 MEDIUM 4.3 UPGRADE n8n before 2.28.0 (and before 1.123.58 on the 1.x branch) contains a disk space exhaustion vulnerability in th