Browse / AI Framework and Platform Flaws / CVE-2026-25631
n8n's domain allowlist bypass enables credential exfiltration
- 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:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
- EPSS
- 0.3% chance of exploitation in 30 days
How it works, in short
Wildcard domain patterns in the credential allowlist fail to restrict domains correctly, so credentials are attached to requests sent to unintended hosts. (Our summary, written by a model. The source text is below.)
Details
Impact
A vulnerability in the HTTP Request node's credential domain validation allowed an authenticated attacker to send requests with credentials to unintended domains, potentially leading to credential exfiltration.
This only might affect user who have credentials that use wildcard domain patterns (e.g., *.example.com) in the "Allowed domains" setting.
Patches
This issue is fixed in version 1.121.0 and later. All users are strongly encouraged to upgrade.
Workarounds
Until projects can upgrade:
- Replace wildcard domain patterns with explicit domain listings in HTTP Request credentials
- Review and restrict workflow creation/modification permissions to trusted users only
- Audit existing workflows using HTTP Request nodes with domain-restricted credentials
---
n8n has adopted CVSS 4.0 as primary score for all security advisories. CVSS 3.1 vector strings are provided for backward compatibility.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-2xcx-75h9-vr9h
- https://nvd.nist.gov/vuln/detail/CVE-2026-25631
- https://github.com/n8n-io/n8n
Source: GitHub Advisory Database, used under CC BY 4.0.