CVE-2025-68949
MEDIUM 5.3CVSS 3.1n8n: Webhook Node IP Whitelist Bypass via Partial String Matching
n8n is an open source workflow automation platform. From 1.36.0 to before 2.2.0, the Webhook node’s IP whitelist validation performed partial string matching instead of exact IP comparison. As a result, an incoming request could be accepted if the source IP address merely contained the configured whitelist entry as a substring. This issue affected instances where workflow editors relied on IP-based access controls to restrict webhook access. Both IPv4 and IPv6 addresses were impacted. An attacker with a non-whitelisted IP could bypass restrictions if their IP shared a partial prefix with a trusted address, undermining the intended security boundary. This vulnerability is fixed in 2.2.0.
- Published
- 13 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-134CWE-183CWE-284
- Also known as
- GHSA-w96v-gf22-crwp
- Sources
- NVDJSONOSV GHSA-w96v-gf22-crwpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
>= 1.36.0, < 2.2.0 | 2.2.0 |
| OSV | npm | n8n | >= 1.36.0, < 2.2.0 | 2.2.0 |
References
- https://github.com/n8n-io/n8n/commit/11f8597d4ad69ea3b58941573997fdbc4de1fec5 · Patch, WEB
- https://github.com/n8n-io/n8n/issues/23399 · Issue Tracking, Patch, WEB
- https://github.com/n8n-io/n8n/pull/23399 · Issue Tracking, Patch, WEB
- https://github.com/n8n-io/n8n/security/advisories/GHSA-w96v-gf22-crwp · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68949 · ADVISORY
- https://github.com/n8n-io/n8n · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 13 Jan 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Jan 2026)