Loading...
Skip to main content

CVE-2026-59206

HIGH

n8n: Prototype Pollution via Workflow Credentials Leads to Unauthenticated User and Project Enumeration

Published July 22, 2026Updated July 22, 2026Source: osv

Summary

## Impact An authenticated user with the default `workflow:create` permission could pollute `Object.prototype` through a crafted workflow saved, updated, or imported via the workflow API. This can be leveraged to bypass authentication, allowing unauthenticated requests to be treated as a privileged user and exposing endpoints such as the user and project listings. As a result, every account's personal data (email, role, MFA status) and all projects on the instance may be disclosed to unauthenticated callers. The pollution can also corrupt global state, making parts of the instance unresponsive until restarted. ## Patches The issue has been fixed in n8n versions 1.123.61, 2.27.4, and 2.28.1. Users should upgrade to one of these versions or later to remediate the vulnerability. ## Workarounds If upgrading is not immediately possible, administrators should consider the following temporary mitigations: - Restrict workflow creation and editing permissions to fully trusted users only. - Restrict network access to the n8n instance to trusted users only. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update n8n to 1.123.61 or later
npm install n8n@1.123.61
npm
Update n8n to 2.28.1 or later
npm install n8n@2.28.1
npm
Update n8n to 2.27.4 or later
npm install n8n@2.27.4

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

PackageEcosystemAffectedFixed In
n8n
npm
All versions1.123.61
n8n
npm
All versions2.28.1
n8n
npm
All versions2.27.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-1321
    Prototype PollutionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Confidentiality
Integrity
Availability

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N

Frequently Asked Questions

What is CVE-2026-59206?
n8n: Prototype Pollution via Workflow Credentials Leads to Unauthenticated User and Project Enumeration This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.5/10).
How do I check if my project is affected by CVE-2026-59206?
CVE-2026-59206 affects n8n. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-59206 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-75qm-gp28-rcq9

Related CVEs

  • CVE-2026-42232
    CRITICAL

    n8n has XML Node Prototype Pollution that to RCE

  • CVE-2026-25056
    CRITICAL

    n8n Merge Node has Arbitrary File Write leading to RCE

  • CVE-2026-27495
    CRITICAL

    n8n has a Sandbox Escape in its JavaScript Task Runner

  • CVE-2026-54305
    HIGH

    n8n: Cross-Tenant Credential Takeover via Dynamic Credentials EE Endpoints

  • CVE-2026-65016
    HIGH

    n8n: SSO Instance-Role Provisioning Allows Privilege Escalation to Instance Owner

  • CVE-2026-33663
    HIGH

    n8n is Vulnerable to Credential Theft via Name-Based Resolution and Permission Checker Bypass in Community Edition

  • CVE-2026-59257
    MEDIUM

    n8n: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation

  • CVE-2026-72775
    MEDIUM

    n8n: PostgresTrigger Node SQL Injection Allows Authenticated Users to Execute Arbitrary SQL on Connected PostgreSQL Instances

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies