CVE-2026-103246: n8n before 2.39.6 and 2.40.x before 2.40.1 Credential Disclosure via Node-Tool Introspection

Published Oct 1, 2026
·
Updated

n8n versions before 2.39.6 and 2.40.0 before 2.40.1 fail to validate credential ownership during inline agent node-tool introspection. Attackers can reference arbitrary credential IDs to decrypt and exfiltrate plaintext secrets to attacker-controlled hosts without ownership verification.

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:41 AM
Data Sourced
via MITRE·10:41 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which n8n releases are affected?

Affected releases are n8n versions before 2.39.6, and 2.40.0 before 2.40.1. Upgrade to 2.39.6 or 2.40.1 or later, as applicable.

2

What level of access does an attacker need?

The attack is network-reachable and requires low privileges. The attacker must be able to perform inline agent node-tool introspection and reference credential IDs.

3

Can an attacker target credentials they do not own?

Yes. The flaw is the absence of credential ownership validation, allowing arbitrary credential IDs to be referenced and their plaintext secrets decrypted and sent to attacker-controlled hosts.

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