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, this can disclose environment variables accessible to the task runner process.
CVE-2026-56777
Score 5.0 from GitHub Security Advisory published 2026-07-01. a secondary CVSS source baseline 5.0; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.0
- EG Score
- 5.0(high)
- EPSS
- 15.7%
- KEV
- Not listed
Published
July 1, 2026
Last Modified
July 2, 2026
Advisory Details (2)
Auto-updated Jul 3, 2026n8n - AST Validator Bypass in Python Code Node | Advisories | VulnCheck
https://www.vulncheck.com/advisories/n8n-ast-validator-bypass-in-python-code-nodePython Code Node AST Validator Bypass · Advisory · n8n-io/n8n · GitHub
https://github.com/n8n-io/n8n/security/advisories/GHSA-jwm3-qcfw-c5ppVendor Advisories for CVE-2026-56777(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 24× in last 7d / 24× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 19:06 UTCEG score recompute
- 2026-07-06 19:05 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 20:08 UTCEG score recompute
- 2026-07-05 20:07 UTCGHSA enrichment
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 21:10 UTCEG score recompute
- 2026-07-04 21:10 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 22:12 UTCEG score recompute
- 2026-07-03 22:12 UTCGHSA enrichment
- 2026-07-02 23:16 UTCEG score recompute
- 2026-07-02 23:15 UTCGHSA enrichment
- 2026-07-02 00:19 UTCEG score recompute
- 2026-07-02 00:18 UTCGHSA enrichment
- 2026-07-01 17:06 UTCNVD updateCVSS v4 → 5.3
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 01:19 UTCEG score recompute
- 2026-07-01 01:19 UTCGHSA enrichment
Frequently asked(5)
What is CVE-2026-56777?
When was CVE-2026-56777 disclosed?
Is CVE-2026-56777 actively exploited?
What is the CVSS score of CVE-2026-56777?
How do I remediate CVE-2026-56777?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-56777
Is Your Infrastructure Affected by CVE-2026-56777?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.