N8nApplication

CVE-2026-42226

HIGH · 7.5 CVSS v3.1 Published 2026-05-04
Fix available
A fix is available. Upgrade to 1.123.33 / 2.17.5 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
n8n is an open source workflow automation platform. Prior to versions 1.123.33 and 2.17.5, the dynamic-node-parameters endpoints did not verify whether the authenticated caller was authorized to use a supplied credential reference. An authenticated user with access to a shared workflow could supply a foreign credential ID in the request body, causing the backend to decrypt and use that credential in a helper execution path where the caller also controls the destination URL. This allowed the caller to force the backend to authenticate against attacker-controlled infrastructure using a credential belonging to another user, effectively exfiltrating a reusable API key. The issue is not limited to any single node type; any node that resolves credentials dynamically through these endpoints may be affected. This issue has been patched in versions 1.123.33, 2.17.5, and 2.18.0.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

In n8n prior to versions 1.123.33/2.17.5, the dynamic-node-parameters endpoints failed to validate whether an authenticated user was authorized to access a supplied credential ID. An authenticated attacker with access to a shared workflow could supply a foreign credential ID and control the destination URL, causing the backend to decrypt and use the victim's credential to authenticate against attacker-controlled infrastructure, enabling API key exfiltration.

MitigationUpgrade to n8n versions 1.123.33, 2.17.5, or 2.18.0 which contain the authorization patch for credential reference validation.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
N8nApplication
Affected:< 1.123.33>= 2.17.0, < 2.17.5

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed n8n version
    Run `n8n --version` or check the version displayed in the n8n UI (usually at the bottom of the left sidebar). If using Docker, check with `docker ps` and inspect the container image tag.
    Affected if The version is below 1.123.33, or is 2.17.0 through 2.17.4 (for the 2.x branch).
  2. Review shared workflow configurations
    Examine workflows that are shared among multiple users or teams. Look for workflows that reference credentials (check the credential selection dropdowns within node configurations).
    Affected if Shared workflows exist that contain credential references accessible to multiple users.
  3. Inspect credential ownership and permissions
    Navigate to Settings > Credentials in the n8n UI. Review which credentials are owned by different users and check if any credentials are shared or accessible beyond their owner.
    Affected if Credentials exist that are shared across users or accessible to users who did not create them.
  4. Monitor outbound network traffic from n8n server
    Use network monitoring tools (tcpdump, Wireshark, or cloud provider VPC flow logs) to capture outgoing HTTP/HTTPS requests from the n8n server. Look for requests to unfamiliar or attacker-controlled domains.
    Affected if The n8n server is making outbound requests to unknown or suspicious external domains, especially from credential-related operations.

You are affected if your n8n version falls within the vulnerable range (below 1.123.33 for 1.x or 2.17.0-2.17.4 for 2.x) AND you have shared workflows containing credentials that other authenticated users can access.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.123.33 / 2.17.5 or later
Fixed in 1.123.332.17.5
Interim mitigation

Upgrade to n8n versions 1.123.33, 2.17.5, or 2.18.0 which contain the authorization patch for credential reference validation.

Recommended fix High confidence

n8n 1.123.33+ (1.x branch) or 2.17.5+/2.18.0+ (2.x branch)

  1. Identify which major version branch you are currently running (1.x or 2.x)
  2. If running 1.x version: Upgrade to n8n version 1.123.33 or later
  3. If running 2.x version: Upgrade to n8n version 2.17.5 or later (alternatively 2.18.0)
  4. After upgrading, verify the fix by testing that the dynamic-node-parameters endpoint properly enforces authorization checks for credential references
  5. Review the release notes for your target version to check for any breaking changes or migration requirements
Caveat Check release notes for breaking changes between your current version and the target upgrade version before proceeding

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in N8n Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA3.0 h
21.0 hours of engineering $3,680
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,888.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-42226 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-42226 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data