Vulnerability in N8n
CVE-2025-68949
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 · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.003, 23.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- N8n
- N8n-Io N8n — versions >= 1.36.0, < 2.2.0
Weakness classification (CWE)
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-w96v-gf22-crwp (Vendor Advisory)
- https://github.com/n8n-io/n8n/issues/23399 (Patch, Issue Tracking)
- https://github.com/n8n-io/n8n/pull/23399 (Patch, Issue Tracking)
- https://github.com/n8n-io/n8n/commit/11f8597d4ad69ea3b58941573997fdbc4de1fec5 (Patch)