PT-2026-54049 · N8N · N8N

·

CVE-2026-56777

·

Published

2026-06-16

·

Updated

2026-06-30

CVSS v4.0

5.3

Medium

VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions n8n versions prior to 2.25.7 n8n versions 2.26.0 through 2.26.1
Description A security validator bypass exists in the Python Code node involving the Abstract Syntax Tree (AST), which is a tree representation of the abstract syntactic structure of source code. An authenticated user with permissions to create or modify workflows can bypass this validator to access the task executor module namespace. This issue specifically affects self-hosted instances with the Python Task Runner enabled. If the N8N BLOCK RUNNER ENV ACCESS variable is configured to allow access, this could lead to the disclosure of environment variables accessible to the task runner process.
Recommendations Update to version 2.25.7 or later. Update to version 2.26.2 or later.

Exploit

Fix

Incomplete List of Disallowed Inputs

Protection Mechanism Failure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-56777
GHSA-JWM3-QCFW-C5PP

Affected Products

N8N