Vulnerability · Published Jan 13, 2026 · Assigned by GitHub_M
CVE-2025-68949n8n has a Webhook Node IP Whitelist Bypass via Partial String Matching
Medium 5.3
In plain English
A medium-severity improper access control in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | n8n | 2.2.0 | GHSA-w96v-gf22-crwp |
Affected products (as reported)
Weakness: CWE-134, CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-w96v-gf22-crwp x_refsource_CONFIRM
- https://github.com/n8n-io/n8n/issues/23399 x_refsource_MISC
- https://github.com/n8n-io/n8n/pull/23399 x_refsource_MISC
- https://github.com/n8n-io/n8n/commit/11f8597d4ad69ea3b58941573997fdbc4de1fec5 x_refsource_MISC