VDB
Sign up
MEDIUM

GHSA-pq6c-vh67-xpm3

n8n: Log Streaming Event Destinations Decrypt Generic-Auth Credentials Without Ownership Check

Quick fix

GHSA-pq6c-vh67-xpm3 — n8n: upgrade to the fixed version with the command below.

npm install n8n@1.123.76

Details

## Impact

A log streaming event destination may reference a generic HTTP credential, and the destination resolved and decrypted whichever credential it named without checking that the caller had access to it. A user holding a custom global role scoped to Log Streaming operations could therefore name a credential belonging to another project and have its decrypted secret sent to an endpoint they controlled. The patch applies the standard credential access check when a destination resolves its credential.

## Patches

The issue has been fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2. Users should upgrade to one of these versions or later to remediate the vulnerability.

## Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations: - Restrict n8n instance access to fully trusted users only. - Audit and revoke any custom global roles that carry Log Streaming scopes (`eventBusDestination:create`, `eventBusDestination:test`, etc.), limiting those scopes to fully trusted users only. - Review existing Log Streaming event destinations for unexpected webhook URLs and remove any that are not recognized, then rotate any credentials that may have been referenced.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/n8n
Introduced in: 0Fixed in: 1.123.76
Fixnpm install n8n@1.123.76
npm/n8n
Introduced in: 2.38.0Fixed in: 2.38.2
Fixnpm install n8n@2.38.2
npm/n8n
Introduced in: 2.0.0Fixed in: 2.37.7
Fixnpm install n8n@2.37.7

References