GHSA-cqr2-h44g-v75v: Npm/n8n vulnerability

Published Sep 10, 2026
·
Updated

Impact

The endpoints /rest/roles/:slug/assignments and /rest/roles/:slug/assignments/:projectId/members checked only that the caller could manage the role type, not that they could see the project named in the request. A user holding role-management permission could therefore name any project on the instance and read back its members' names and email addresses. The patch adds a project-access check to both routes, hiding projects the caller cannot see and returning not-found for a project it cannot list.

Patches

The issue has been fixed in n8n versions 2.38.2 and 2.37.7. 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 the role:manageProject scope, limiting that scope to fully trusted users only.

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

Affected Software

2 affected componentsFixes available
npm/n8n<2.37.7
2.37.7
npm/n8n>=2.38.0<2.38.2
2.38.2

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 n8n to a version that resolves this vulnerability.

    Fixed in 2.38.2
  4. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.37.7
  5. Compensating control

    Audit and revoke any custom global roles that carry the `role:manageProject` scope, limiting that scope to fully trusted users only.

  6. Compensating control

    Restrict n8n instance access to fully trusted users only.

Event History

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

Frequently Asked Questions

1

Who can exploit this issue, and what information can they obtain?

A user with permission to manage the relevant role type, including a custom global role carrying the role:manageProject scope, can exploit it. They can name projects they cannot access and retrieve those projects' members' names and email addresses.

2

Which versions contain the fix?

The issue is fixed in n8n 2.38.2 and 2.37.7. Upgrade to one of those versions or later.

3

What can administrators do if they cannot upgrade immediately?

Restrict instance access to fully trusted users and audit custom global roles for the role:manageProject scope. Revoke that scope from users who are not fully trusted; these measures are temporary and do not fully remediate the issue.

4

How does the patched behavior prevent unauthorized project-member lookup?

The patched routes check whether the caller has access to the requested project. Projects the caller cannot see are hidden, and requests for projects they cannot list return not found.

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