CVE-2026-103256: n8n before 2.39.6 and 2.40.x before 2.40.1 Credentials Leak via preAuthentication Hook

Published Oct 1, 2026
·
Updated

n8n versions before 2.39.6 and 2.40.0 before 2.40.1 contain a credentials leak vulnerability in the Wekan and Baserow username-and-password credentials that sends unencrypted passwords to unvalidated hosts. Attackers with credential update permissions can modify the host field to receive account passwords at arbitrary hosts, bypassing domain validation controls.

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. The issue applies to the Wekan and Baserow username-and-password credential types.

2

What access does an attacker need to exploit this?

An attacker needs permission to update credentials. They can change the credential host field to an arbitrary host and cause account passwords to be sent there.

3

Does domain validation prevent exploitation?

No. The vulnerability bypasses domain validation controls because the preAuthentication hook sends the password to an unvalidated host.

4

What versions address the issue?

Upgrade to n8n 2.39.6 or later, or to 2.40.1 or later within the 2.40.x release line.

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