Authorization Bypass Through User-Controlled Key Affecting @n8n/instance-ai package, versions <1.12.4>=1.13.0 <1.13.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (19th 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 Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8NINSTANCEAI-18017735
  • published19 Jul 2026
  • disclosed15 Jul 2026
  • creditUnknown

Introduced: 15 Jul 2026

NewCVE-2026-59254  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade @n8n/instance-ai to version 1.12.4, 1.13.1 or higher.

Overview

@n8n/instance-ai is an Instance AI is the agent runtime behind the AI assistant experience in n8n. It lets users ask for help with workflows, executions, credentials, nodes, and workflow building from inside an n8n instance.

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the workflow node expressions. An attacker can access plaintext external secret values by referencing them in node expressions without requiring explicit secrets access permissions.

CVSS Base Scores

version 4.0
version 3.1