CVE-2026-56348: n8n: Credential exfiltration via Allowed HTTP Request Domains Bypass
n8n before 2.20.0 lets any authenticated user with access to a credential make the server send that credential to a host outside the credential's Allowed HTTP Request Domains list. The hole is the POST /rest/dynamic-node-parameters/options endpoint (CVE-2026-56348). Upgrade to n8n 2.20.0.
Published May 19, 2026 · Updated Jul 20, 2026 · Analysis Nov 3, 2026
What an attacker can do
n8n lets an admin restrict a credential to certain hosts with the Allowed HTTP Request Domains setting. The dynamic-node-parameters/options endpoint, which loads option lists for node parameters, issued HTTP requests that carried the credential without enforcing that restriction (CWE-918, server-side request forgery).
The attacker must be logged in to n8n and must have access to the credential. They then point the request at a host they control and read the credential from it. Success exposes API keys, tokens or passwords stored in the credential, which can then be used against the third-party service.
The risk is highest on shared n8n instances where many users share credentials, since the domain allowlist is what was meant to keep a shared credential from leaving approved hosts. The two CVSS scores in our data differ: 9.1 under v3.1 and 5.3 under v4.0. Read the severity with that in mind. The sources do not report exploitation in the wild.
Who is affected
All n8n versions below 2.20.0 are affected, on instances where users share credentials or where Allowed HTTP Request Domains is used to confine them. Check the installed version:
npm ls n8nFor Docker, check the image tag you run. The Settings area of the n8n UI also shows the version.
n8n
- Ecosystem
- npm
- Affected
- < 2.20.0
- Fixed in
- 2.20.0
- Check
npm ls n8n
How to fix it
Upgrade to n8n 2.20.0 or later:
npm install [email protected]For Docker, pull the n8nio/n8n image at 2.20.0 or newer and recreate the container.
The advisory gives two temporary mitigations that it says do not fully remove the risk: restrict n8n access to fully trusted users, and limit credential sharing to the users who need it.
How to tell if you were hit
Check reverse proxy or n8n access logs for POST requests to /rest/dynamic-node-parameters/options from users who do not normally edit workflows. Look at the outbound traffic from the n8n host for connections to unfamiliar hosts around those requests. Review credential usage at the third-party services, such as unusual API calls or logins from new IPs, and rotate any credential that may have been exposed.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Impact
The POST /rest/dynamic-node-parameters/options endpoint allowed any authenticated user to cause the n8n server to issue HTTP requests including credentials bypassing the intended restrictions on which hosts could be contacted for that credential (Allowed HTTP Request Domains). The user needed to be authenticated and have access to the credential.
Patches
The issue has been fixed in n8n version 2.20.0. Users should upgrade to this version or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n access to fully trusted users only.
- Limit credential sharing to users who genuinely require access to those credentials.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Credited to vnth4nhnt.
Questions
- Is n8n 2.19 affected by CVE-2026-56348?
Yes. Every version below 2.20.0 is affected, and 2.20.0 is the fix.
- Does the attacker need an n8n account?
Yes. The user must be authenticated and have access to the credential. There is no unauthenticated path in the advisory.
- What setting does it bypass?
Allowed HTTP Request Domains, the per-credential list of hosts that the credential may be sent to.
- Is there a workaround?
Only partial ones: trust only vetted users and limit credential sharing. The advisory says they do not fully fix the issue.
References
Read for this analysis:
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 entriesCVE-2026-86073
n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution
medium5.9Sep 10, 2026CVE-2026-86074
n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content
medium5.9Sep 10, 2026CVE-2026-86075
n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration Endpoint
high8.7Sep 10, 2026CVE-2026-86076
n8n: Expression Sandbox Escape via Class-Field Sanitizer Rebinding Can Lead to Code Execution
high8.7Sep 10, 2026CVE-2026-86077
n8n: Anonymous Approval-Gate Bypass via Reused resumeToken over the Chat WebSocket
medium6.3Sep 10, 2026CVE-2026-86078
n8n: Prototype Pollution via Workflow Structure Summary Can Lead to Denial of Service
medium6.0Sep 10, 2026
