What’s Vulnerable › Vulnerabilities
CVE-2025-68949: n8n has a Webhook Node IP Whitelist Bypass via Partial String Matching
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-13 · updated 2026-06-17
- Weakness: CWE-134
Description
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.
Affected products
- n8n-io n8n: from 1.36.0 before 2.2.0 — fixed in 2.2.0
How to fix
Upgrade to a fixed version: n8n-io n8n 2.2.0. Check the vendor advisory for mitigations.
References
- https://github.com/n8n-io/n8n/commit/11f8597d4ad69ea3b58941573997fdbc4de1fec5
- https://github.com/n8n-io/n8n/issues/23399
- https://github.com/n8n-io/n8n/pull/23399
- https://github.com/n8n-io/n8n/security/advisories/GHSA-w96v-gf22-crwp
Get alerted when CVE-2025-68949 or the next vulnerability affects your stack