NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · n8n

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

highCVSS 4.0 8.5 · 3.1 9.9GHSA-m63j-689w-3j35

On n8n Community Edition, a user with the `global:member` role can steal plaintext secrets from other users' generic HTTP credentials (`httpBasicAuth`, `httpHeaderAuth`, `httpQueryAuth`). Two authorization flaws chain together. Fixed in n8n 1.123.27, 2.13.3 and 2.14.1. Enterprise Edition blocks the chain.

Published Mar 25, 2026 · Analysis Oct 31, 2026

What an attacker can do

Two flaws combine. First, n8n can resolve a credential by name, and that path does not check ownership or project scope. Second, the credentials permission checker skips generic HTTP credential types during pre-execution validation. A member can therefore resolve another user's credential ID and run a workflow that decrypts and uses it, with no authorization (CWE-639).

The attacker needs a login with the member role on a shared instance. No user interaction is needed. The workflow can send the decrypted value to a server the attacker controls. What they get is whatever sits in those HTTP credentials: API keys, bearer tokens, basic-auth passwords for third-party services. The CVSS scope is changed because the stolen secrets work against other systems.

Native integration credential types such as slackApi, openAiApi and postgres are not affected. Enterprise Edition is not affected either, because its extra permission gates on workflow creation and execution independently stop the chain.

Who is affected

n8n Community Edition, npm package n8n: below 1.123.27; from 2.0.0-rc.0 up to but not including 2.13.3; and exactly 2.14.0. Check with:

npm ls n8n

The risk applies to instances with more than one user, where members hold generic HTTP credentials they should not share.

n8n

Ecosystem
npm
Affected
< 1.123.27
Fixed in
1.123.27
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
= 2.14.0
Fixed in
2.14.1
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
>= 2.0.0-rc.0, < 2.13.3
Fixed in
2.13.3
Check
npm ls n8n

How to fix it

Upgrade to n8n 1.123.27, 2.13.3 or 2.14.1, or later:

npm install -g [email protected]

Temporary mitigations from the advisory, which do not fully remove the risk: restrict instance access to fully trusted users, and audit stored httpBasicAuth, httpHeaderAuth and httpQueryAuth credentials, rotating any that may have been exposed.

How to tell if you were hit

The advisory lists no indicators. Review workflows created by member-role users that reference credentials they do not own, and check execution logs for runs that used another user's credential ID. Look for outbound requests from n8n to unfamiliar hosts carrying credential values. On multi-user Community instances, rotate generic HTTP credentials if you cannot rule out misuse.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

An authenticated user with the global:member role could exploit chained authorization flaws in n8n's credential pipeline to steal plaintext secrets from generic HTTP credentials (httpBasicAuth, httpHeaderAuth, httpQueryAuth) belonging to other users on the same instance.

The attack abuses a name-based credential resolution path that does not enforce ownership or project scope, combined with a bypass in the credentials permission checker that causes generic HTTP credential types to be skipped during pre-execution validation. Together, these flaws allow a member-role user to resolve another user's credential ID and execute a workflow that decrypts and uses that credential without authorization.

Native integration credential types (e.g. slackApi, openAiApi, postgres) are not affected by this issue.

This vulnerability affects Community Edition only. Enterprise Edition has additional permission gates on workflow creation and execution that independently block this attack chain.

Patches

The issue has been fixed in n8n versions 1.123.27, 2.13.3, and 2.14.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 instance access to fully trusted users only.
  • Audit credentials stored on the instance and rotate any generic HTTP credentials (httpBasicAuth, httpHeaderAuth, httpQueryAuth) that may have been exposed.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Credited to tr4ce-ju.

Questions

Is Enterprise Edition affected by CVE-2026-33663?

No. The advisory says Enterprise Edition has extra permission gates on workflow creation and execution that independently block the attack chain.

Which credential types are at risk?

Generic HTTP credentials: httpBasicAuth, httpHeaderAuth and httpQueryAuth. Native types such as slackApi, openAiApi and postgres are not affected.

What access does the attacker need?

An authenticated account with the global:member role. No user interaction is required.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More n8n vulnerabilities

All n8n entries