GHSA-pq6c-vh67-xpm3: Npm/n8n vulnerability

Published Sep 10, 2026
·
Updated

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.

Affected Software

3 affected componentsFixes available
npm/n8n>=2.0.0<2.37.7
2.37.7
npm/n8n>=2.38.0<2.38.2
2.38.2
npm/n8n<1.123.76
1.123.76

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/n8n to a version that resolves this vulnerability.

    Fixed in 2.37.7
  2. Upgrade

    Upgrade npm/n8n to a version that resolves this vulnerability.

    Fixed in 2.38.2
  3. Upgrade

    Upgrade npm/n8n to a version that resolves this vulnerability.

    Fixed in 1.123.76
  4. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 1.123.76
  5. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.37.7
  6. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.38.2
  7. Configuration

    Audit and revoke any custom global roles that carry Log Streaming scopes (e.g., eventBusDestination:create, eventBusDestination:test, etc.), limiting those scopes to fully trusted users only.

    n8n Custom global roles (Log Streaming scopes: eventBusDestination:create, eventBusDestination:test, etc.) = limit to fully trusted users only
  8. Compensating control

    Restrict n8n instance access to fully trusted users only.

  9. Operational

    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.

Event History

Sep 10, 2026
Advisory Published
via GitHub·09:07 PM
Data Sourced
via GitHub·09:07 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

A user with a custom global role that includes Log Streaming operations, such as eventBusDestination:create or eventBusDestination:test, can exploit it. The user must be able to configure a Log Streaming destination and point it at an endpoint they control.

2

What credentials are at risk?

Generic HTTP credentials belonging to another project may be exposed if their names are referenced by a Log Streaming event destination. The vulnerable destination resolution process decrypted the named credential without verifying that the caller was allowed to access it.

3

Are standard n8n permissions sufficient to trigger the issue?

The affected permission set is a custom global role with Log Streaming scopes. Administrators should audit and revoke those scopes from users who are not fully trusted.

4

What should be done if an upgrade cannot happen immediately?

Restrict instance access to fully trusted users, remove Log Streaming scopes from untrusted custom global roles, and inspect existing Log Streaming destinations for unrecognized webhook URLs. Remove suspicious destinations and rotate credentials that may have been exposed.

5

Which versions contain the fix?

Upgrade n8n to version 1.123.76, 2.37.7, or 2.38.2, or a later version.

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