Browse / AI Framework and Platform Flaws / CVE-2026-56348
n8n: Credential exfiltration via Allowed HTTP Request Domains Bypass
- Class
- AI Framework and Platform Flaws (filed by a model that read the source)
- Technique
- Data exfiltration
- Affected
- n8n (npm)
- Gets past
- Sandbox or allowlist
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
- EPSS
- 0.5% chance of exploitation in 30 days
How it works, in short
An authenticated user makes the dynamic options endpoint send HTTP requests to hosts outside the credential's allowed domains, carrying the credential along. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-3875-8gcx-7v46
- https://nvd.nist.gov/vuln/detail/CVE-2026-56348
- https://github.com/n8n-io/n8n
- https://www.vulncheck.com/advisories/n8n-credential-exfiltration-via-allowed-http-request-domains-bypass-in-dynamic-node-parameters-endpoint
Source: GitHub Advisory Database, used under CC BY 4.0.