All vulnerabilities

Servers and applications

GHSA-rx55-8qhx-4hwx

Dynamic Credentials Authorize Endpoint Leaks Session Token to Attacker-Controlled Resolver

Severity
High 8.5
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 · Only under certain conditions · Needs an administrator account · Needs someone to click or open something
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:L/SA:N
Sources
Project advisories (GitHub)

Description

The Dynamic Credentials authorize and revoke endpoints forwarded the caller's raw session token to the configured resolver, missing the check the execution path already applied. Since a workflow's fallback resolver is settable with plain workflow:update, a user who can register a resolver could capture any collaborator's — or the owner's — session during the ordinary "Connect your account" step, and with it read credentials they have no access to.

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.
  • Disable the Dynamic Credentials module if it is not required.
  • Audit and revoke any custom global roles that carry the credentialResolver:create scope, limiting that scope to fully trusted administrators only.
  • Review registered credential resolvers and remove any that are not recognized or point to unexpected URLs.
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