All vulnerabilities

Servers and applications

GHSA-9rhv-fhr8-7q5r

Inline Agent Node-Tool Introspection Decrypts Any Instance Credential Without Ownership Check

Severity
High 8.3
Published
16 Sept 2026
Last changed
16 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.39.6, 2.40.1
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

Registering a node tool on an inline agent resolved the tool's input schema before the language model was consulted, and that resolution decrypted and used whatever credential the caller named, with no check that the caller's project owns it. The equivalent check exists on the invocation path. An ordinary member could therefore name any credential id on the instance — including the instance owner's — and have its plaintext secret sent to a host of their choosing. Credential ids are not secret: they appear in workflow JSON, exports and editor URLs.

From n8n-io/n8n's security advisory.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Audit inline agent workflow configurations for unexpected tool node credential references and remove any that are not recognized.
  • Rotate any credentials whose IDs may have been exposed through workflow JSON, exports, editor URLs, or API responses visible to untrusted members.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Workarounds as given by n8n-io/n8n's security advisory.

Affected software

SoftwareAffected versions
n8nServers and applications · github:n8n-io/n8n
  • Every version before 2.40.1
  • Every version before 2.39.6

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
103,525npm, 15 Nov 2026
Docker Hub pulls
286,090,810Docker Hub, 15 Nov 2026
GitHub stars
210,541GitHub, 15 Nov 2026
Forks
61,525GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References