CVE-2026-103259: n8n before 2.39.6 and 2.40.x before 2.40.1 Session Token Leak via Dynamic Credentials

Published Oct 1, 2026
·
Updated

n8n versions before 2.39.6 and 2.40.0 before 2.40.1 contain a session token leakage vulnerability in the Dynamic Credentials authorize and revoke endpoints. Attackers with resolver registration capability can capture collaborators' session tokens by setting a fallback resolver to an attacker-controlled endpoint during the account connection flow, enabling unauthorized credential access.

Affected Software

1 affected component
n8n n8n<2.39.6, >=2.40.0<2.40.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.39.6
  2. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.40.1

Event History

Oct 1, 2026
CVE Published
via MITRE·10:42 AM
Data Sourced
via MITRE·10:42 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Affected versions are n8n releases before 2.39.6, plus version 2.40.0. Version 2.40.1 is not listed as affected.

2

What access and interaction does an attacker need?

The attacker needs resolver registration capability and must configure a fallback resolver that points to an attacker-controlled endpoint. A collaborator must then go through the account connection flow, with user interaction required for exploitation.

3

What is the impact if exploitation succeeds?

An attacker can capture a collaborator's session token during Dynamic Credentials authorization or revocation. The captured token can enable unauthorized access to credentials.

4

Which functionality is involved?

The issue affects the Dynamic Credentials authorize and revoke endpoints, specifically when a fallback resolver is used during account connection.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203