Improper Input Validation Affecting n8n-workflow package, versions <1.118.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8NWORKFLOW-15225355
  • published5 Feb 2026
  • disclosed4 Feb 2026
  • creditweblover12

Introduced: 4 Feb 2026

CVE-2026-25631  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade n8n-workflow to version 1.118.0 or higher.

Overview

n8n-workflow is a Workflow base code of n8n

Affected versions of this package are vulnerable to Improper Input Validation via the credential domain validation process. An attacker can access sensitive credentials by sending requests to unintended domains using wildcard domain patterns in the allowed domains setting.

Note:

This is only exploitable if credentials are configured with wildcard domain patterns (e.g., *.example.com) in the allowed domains setting.

Workaround

This vulnerability can be mitigated by replacing wildcard domain patterns with explicit domain listings in HTTP Request credentials, reviewing and restricting workflow creation/modification permissions to trusted users only, and auditing existing workflows using HTTP Request nodes with domain-restricted credentials.

References

CVSS Base Scores

version 4.0
version 3.1