CVE-2025-68949 n8n has a Webhook Node IP Whitelist Bypass via Partial String Matching
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| n8n | >= 1.36.0, < 2.2.0 | 2.2.0 | Fixed |
| npm n8n(npm) | >= 1.36.0, < 2.2.0 | 2.2.0 | Fixed |
| n8n-io n8n | = >= 1.36.0, < 2.2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm n8n(npm) | >= 1.36.0, < 2.2.0 | 2.2.0 |
| n8n-io n8n | = >= 1.36.0, < 2.2.0 | No fix listed |
| n8n | >= 1.36.0, < 2.2.0 | 2.2.0 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-w96v-gf22-crwp vendor-advisory
- https://github.com/n8n-io/n8n/issues/23399 issue-tracking patch
- https://github.com/n8n-io/n8n/pull/23399 issue-tracking patch
- https://github.com/n8n-io/n8n/commit/11f8597d4ad69ea3b58941573997fdbc4de1fec5 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product