GitHub Advisoryadvisory · npm

GHSA-3875-8gcx-7v46 n8n: Credential exfiltration via Allowed HTTP Request Domains Bypass

MEDIUM Published 2026-05-19 Modified 2026-07-20 Official page ↗
Aliases
CVE-2026-56348
Ecosystem
npm
Packages
n8n
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
Weaknesses
CWE-918
Reviewed
2026-05-19

Affected packages

• npm n8n: < 2.20.0 → fixed in 2.20.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-56348 n8n before 2.20.0 contains a credential exfiltration vulnerability in the POST /rest/dynamic-node-parameters/options endpoint that allows… vulnerability

Weakness · CWE (1)

  • CWE-918 Server-Side Request Forgery weakness

References