Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-56777— n8n - AST Validator Bypass in Python Code Node

Quick assessment

Affected
n8n n8n
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

n8n是n8n公司开源的一个可扩展的工作流自动化工具。 n8n存在输入验证错误漏洞,该漏洞源于Python Code节点中存在抽象语法树(AST)安全验证器绕过问题,可能导致经过身份验证且具有创建或修改包含Python Code节点工作流权限的用户绕过验证器并访问任务执行器模块命名空间。

CVSS 5.0 · Medium EPSS 0.33% · P23

Affected Version Matrix 4

VendorProduct Version RangeStatus
n8n n8n < 2.26.2 affected
2.26.2 unaffected
< 2.25.7 affected
2.25.7 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56777

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
n8n - AST Validator Bypass in Python Code Node
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
不完整的黑名单
Source: CVE Program / CVE List V5
Vulnerability Title
n8n 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
n8n是n8n公司开源的一个可扩展的工作流自动化工具。 n8n存在输入验证错误漏洞,该漏洞源于Python Code节点中存在抽象语法树(AST)安全验证器绕过问题,可能导致经过身份验证且具有创建或修改包含Python Code节点工作流权限的用户绕过验证器并访问任务执行器模块命名空间。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
n8n n8n 0 ~ 2.26.2 -
n8n n8n 0 ~ 2.25.7 -

II. Public POCs for CVE-2026-56777

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-56777

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-56777 (2)

Same Patch Batch · n8n · 2026-06-30 · 3 CVEs total

CVE-2026-56350 6.3 MEDIUM n8n - SSO Enforcement Bypass via API
CVE-2026-56356 5.4 MEDIUM n8n - Stored Cross-Site Scripting in Chat Trigger Node Custom CSS Field

IV. Related Vulnerabilities

V. Comments for CVE-2026-56777

No comments yet


Leave a comment