GHSA-w96v-gf22-crwp

Suggest an improvement
Source
https://github.com/advisories/GHSA-w96v-gf22-crwp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-w96v-gf22-crwp/GHSA-w96v-gf22-crwp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w96v-gf22-crwp
Aliases
Published
2026-01-13T14:57:12Z
Modified
2026-02-03T02:59:51.944343Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
n8n: Webhook Node IP Whitelist Bypass via Partial String Matching
Details

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

Database specific
{
    "github_reviewed": true,
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-134",
        "CWE-183",
        "CWE-284"
    ],
    "nvd_published_at": "2026-01-13T19:16:15Z",
    "github_reviewed_at": "2026-01-13T14:57:12Z"
}
References

Affected packages

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.36.0
Fixed
2.2.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-w96v-gf22-crwp/GHSA-w96v-gf22-crwp.json"