Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-56777

medium

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.

Vendor / product: N8n — n8n

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.

CVSS
5.0
5.0 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Severity source: NVD CVSS v3.1 (disclosure@vulncheck.com)
Timeline (UTC)
Published: 2026-06-30 23:17
Modified: 2026-10-29 19:17
NVD status: Analyzed
Last synced 11 hours ago
Verified against the source API 2026-10-29 19:22 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

n8n / n8n <2.25.7, ≥2.26.0 <2.26.2

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://github.com/n8n-io/n8n/security/advisories/GHSA-jwm3-qcfw-c5pp
Patch / mitigation: https://github.com/n8n-io/n8n/security/advisories/GHSA-jwm3-qcfw-c5pp

References

Data sources

NVD CVE API 2.0 — fetched 2026-10-29 19:22 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs