n8n has a Webhook Node IP Whitelist Bypass via Partial String Matching
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
n8nnpm | >= 1.36.0, < 2.2.0 | 2.2.0 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-w96v-gf22-crwpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-68949ghsaADVISORY
- github.com/n8n-io/n8n/commit/11f8597d4ad69ea3b58941573997fdbc4de1fec5ghsax_refsource_MISCWEB
- github.com/n8n-io/n8n/issues/23399ghsax_refsource_MISCWEB
- github.com/n8n-io/n8n/pull/23399ghsax_refsource_MISCWEB
- github.com/n8n-io/n8n/security/advisories/GHSA-w96v-gf22-crwpghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.