/

CVE-2026-103256

Severity:

HIGH RISK

(7.1)

Cleartext Credential Exposure (CWE-522) in n8n Nodes

CVE-2026-103256

Deferred

Vulnerability type

Category:

Cleartext Credential Exposure

CWE:

CWE-522

Impact:

Credential Theft

Severity:

HIGH RISK

(7.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A credential exposure vulnerability in n8n can send Wekan and Baserow usernames and passwords without encryption to attacker-controlled hosts. An attacker with permission to update credentials may alter the host field and bypass domain validation controls.

Affected context

The issue occurs in n8n credential integrations for Wekan and Baserow when a user who can update credentials is allowed to control or modify the destination host. Risk increases when host validation does not reliably constrain outbound credential transmission to approved domains and credentials are sent without encryption.

Exploit preconditions

  • Attack surface: n8n credential-management functionality for Wekan or Baserow
  • Required access: Permission to update the affected credentials
  • Trigger point: Saving or using credentials after modifying the host field
  • Why exploitation is possible: The supplied host can bypass domain validation, causing usernames and passwords to be transmitted in cleartext to an unvalidated destination

Why this happens

The underlying flaw is an insecure credential-handling pattern in which sensitive authentication data is transmitted without adequate confidentiality protection and the destination is not reliably restricted to trusted hosts. This maps to CWE-522: Insufficiently Protected Credentials, because account secrets may be exposed during transmission to an attacker-selected endpoint.

Potential impact

  • An attacker may capture Wekan or Baserow account passwords
  • Compromised credentials could enable unauthorized access to connected services
  • Exposed secrets could be reused for account takeover or lateral movement
  • Organizations could experience data disclosure, tampering, or service disruption

General mitigation guidance

Mitigation generally focuses on preventing credentials from being sent to untrusted destinations and ensuring confidentiality during transmission.

Common defensive patterns include:

  • Enforcing strict allowlists for credential service hosts
  • Validating normalized hostnames and rejecting unapproved destinations
  • Requiring encrypted transport for all credential exchanges
  • Limiting credential-update permissions according to least privilege
  • Avoiding storage or transmission of reusable passwords where token-based authentication is available
  • Auditing and rotating credentials that may have been exposed

How teams detect issues like this

Detection approaches may include:

  • Static analysis for credential transmission paths that lack transport-security enforcement
  • Code review checks for user-controlled host fields in authentication integrations
  • Tests that verify domain validation cannot be bypassed through alternate host representations
  • Network monitoring for authentication data sent to unapproved destinations
  • Policy enforcement requiring approved endpoints and encrypted connections
  • Automated security review tools that flag sensitive data flows and missing authorization checks

Sources

SourceLink
github.comgithub.com/n8n-io/n8n/security/advisories/GHSA-gx6g-2hm7-c4xf
vulncheck.comvulncheck.com/advisories/n8n-before-2.39.6-and-2.40-x-before-2.40.1-credentials-leak-via-preauthentication-hook

Frequently asked

questions

It may be exploitable through n8n's exposed credential-management interface, but the attacker must first obtain permission to update the affected credentials.

The key prerequisite is credential-update permission. General access to an n8n instance alone may not be sufficient if role-based controls prevent credential modification.

Prevent user-controlled destinations from receiving credentials, enforce strict host allowlists, and require encrypted transport for all authentication exchanges.

Apply least-privilege access controls, test hostname validation against bypass techniques, monitor outbound sensitive-data flows, and prefer short-lived tokens over reusable passwords where practical.

Find out what's already
exploitable in your codebase.