CVE-2025-68949: n8n has a Webhook Node IP Whitelist Bypass via Partial String Matching

Published Jan 13, 2026
·
Updated

Impact 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.

Patches This issue has been patched in version 2.2.0.

Users are advised to upgrade to v2.2.0 or later, where IP whitelist validation uses strict IP comparison logic rather than partial string matching.

Workarounds Users unable to upgrade immediately should avoid relying solely on IP whitelisting for webhook security. Recommended mitigations include: - Adding authentication mechanisms such as shared secrets, HMAC signatures, or API keys. - Avoiding short or prefix-based whitelist entries. - Enforcing IP filtering at the network layer (for example, via reverse proxies or firewalls).

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
npm/n8n>=1.36.0<2.2.0
2.2.0
n8n N8n Node.js>=1.36.0<2.2.0

Event History

Jan 13, 2026
Advisory Published
via GitHub·02:57 PM
Data Sourced
via GitHub·02:57 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·06:43 PM
Data Sourced
via MITRE·06:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-68949?

CVE-2025-68949 has a high severity due to its potential to allow unauthorized access through improper IP whitelist validation.

2

How do I fix CVE-2025-68949?

To fix CVE-2025-68949, upgrade n8n to version 2.2.0 or later, which resolves the IP whitelist validation issue.

3

What types of systems are affected by CVE-2025-68949?

CVE-2025-68949 affects instances of n8n versions between 1.36.0 and 2.2.0 where the webhook node's IP whitelist validation is used.

4

What problem does CVE-2025-68949 cause?

CVE-2025-68949 causes a security issue where an incoming request can be accepted if the source IP matches a substring of the configured whitelist entry.

5

How can I verify if I am vulnerable to CVE-2025-68949?

To verify if you are vulnerable to CVE-2025-68949, check your current n8n version and review your IP whitelist settings for proper validation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203