CVE-2026-25631: N8n N8n's Domain Allowlist Bypass Enables Vulnerability
MODERATECVE-2026-25631 is a MODERATE n8n's domain allowlist bypass enables vulnerability (CWE-522: Insufficiently Protected Credentials) affecting N8n libraries in the npm ecosystem. The issue involves n8n's domain allowlist bypass enables credential exfiltration. Remediation is available by upgrading affected packages to version 1.121.0.
CVE-2026-25631 at a Glance
How to Fix CVE-2026-25631
To remediate this vulnerability, upgrade all affected N8n dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install n8n@1.121.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls n8n
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-25631, inspect your project dependencies using npm:
npm ls n8n
Analyze the terminal output to locate any version of N8n in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.121.0), your application is affected.
Note: The npm ls n8n command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In N8n, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-25631 Affected N8n Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
n8n
|
npm |
< 1.121.0
|
1.121.0
|
References
Frequently Asked Questions
What is CVE-2026-25631?
Which N8n versions are affected?
What version fixes CVE-2026-25631?
Is n8n affected?
What CWE is associated with CVE-2026-25631?
How can I check npm dependencies for CVE-2026-25631?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2xcx-75h9-vr9h",
"modified" : "2026-02-06T21:43:45Z",
"published" : "2026-02-04T20:33:27Z",
"aliases" : [ "CVE-2026-25631" ],
"summary" : "n8n's domain allowlist bypass enables credential exfiltration",
"details" : "## Impact\n\nA 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.\n\nThis only might affect user who have credentials that use wildcard domain patterns (e.g., `*.example.com`) in the \"Allowed domains\" setting.\n\n## Patches\n\nThis issue is fixed in version 1.121.0 and later. All users are strongly encouraged to upgrade.\n\n## Workarounds\nUntil projects can upgrade:\n\n- Replace wildcard domain patterns with explicit domain listings in HTTP Request credentials\n- Review and restrict workflow creation/modification permissions to trusted users only\n- Audit existing workflows using HTTP Request nodes with domain-restricted credentials\n\n---\nn8n has adopted CVSS 4.0 as primary score for all security advisories. CVSS 3.1 vector strings are provided for backward compatibility.\n\nCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "n8n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.121.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/n8n-io/n8n/security/advisories/GHSA-2xcx-75h9-vr9h"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25631"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/n8n-io/n8n"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-522" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-04T20:33:27Z",
"nvd_published_at" : "2026-02-06T21:16:18Z"
}
}