{"id":"CVE-2026-56777","revision":"f27971962de04fc7bd463e9fb02e3f93","records":[{"revision":"f27971962de04fc7bd463e9fb02e3f93","observedAt":"2026-10-31T17:06:56.49+00:00","statement":{"source":"nvd","id":"CVE-2026-56777","aliases":[],"title":"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…","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.","state":0,"publishedAt":"2026-06-30T23:17:32.413+00:00","modifiedAt":"2026-10-29T19:17:23.337+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":5.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · disclosure@vulncheck.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":5,"severity":"MEDIUM"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-jwm3-qcfw-c5pp","https://www.vulncheck.com/advisories/n8n-ast-validator-bypass-in-python-code-node"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-56777","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-184"],"productCriteria":["cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-06-30T23:17:32.413","lastModified":"2026-10-29T19:17:23.337"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-56777","identifiers":["CVE-2026-56777"]},"retained":false,"historicalAffected":[]}],"coverage":[]}