CVE-2026-86085: n8n: Cross-Tenant Project-Member PII Disclosure via Missing Per-Project Scope Check on Role Assignment Endpoints
n8n has a missing per-project scope check on two role-assignment endpoints. A user who can manage roles can name any project on the instance and read its members' names and email addresses, even for projects they cannot see. Fixed in n8n 2.38.2 and 2.37.7. Severity is moderate (CVSS v4 5.1) and it needs a high-privilege account.
Published Sep 10, 2026 · Analysis Nov 7, 2026
What an attacker can do
The routes /rest/roles/:slug/assignments and /rest/roles/:slug/assignments/:projectId/members checked only that the caller could manage the role type. They did not check that the caller could see the project in the request. A caller could pass any project ID and get back the project's members.
What leaks is limited: member names and email addresses. There is no integrity or availability impact, and the CVSS vector rates confidentiality as low. The attacker needs an account with role-management permission, which the vector treats as high privilege. No user interaction is needed and the attack runs over the network.
The real exposure is in multi-project n8n instances where teams are meant to be isolated. A user with a custom global role that carries the role:manageProject scope can map who works in other teams' projects. That list is useful for phishing or for choosing targets for a later attack.
Who is affected
The npm package n8n in two ranges: from 2.38.0 up to but not including 2.38.2, and everything below 2.37.7. Check your version.
npm ls n8nFor Docker installs, check the image tag or the version shown in the n8n UI. Only instances where someone holds a role with role:manageProject can be abused.
n8n
- Ecosystem
- npm
- Affected
- >= 2.38.0, < 2.38.2
- Fixed in
- 2.38.2
- Check
npm ls n8n
n8n
- Ecosystem
- npm
- Affected
- < 2.37.7
- Fixed in
- 2.37.7
- Check
npm ls n8n
How to fix it
Upgrade to n8n 2.38.2 or 2.37.7, depending on your release line.
npm install -g [email protected]The fix adds a project-access check to both routes. Projects the caller cannot list now return not-found. The advisory gives two short-term measures that do not fully remove the risk: limit instance access to fully trusted users, and audit custom global roles, revoking role:manageProject or restricting it to trusted users.
How to tell if you were hit
The advisory gives no log signature. Review your custom global roles for role:manageProject and list who holds them. Look in access logs for requests to /rest/roles/ paths ending in /assignments or /members from users who do not normally administer roles, especially with project IDs that user is not a member of.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
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:manageProjectscope, 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.
Credited to mtholmquist.
Questions
- Which n8n versions fix CVE-2026-86085?
n8n 2.38.2 and 2.37.7. The vulnerable ranges are 2.38.0 up to 2.38.2 and anything below 2.37.7.
- What data does CVE-2026-86085 expose?
The names and email addresses of members of any project on the instance. The advisory lists no integrity or availability impact.
- Can any n8n user exploit this?
No. The caller needs role-management permission, such as a custom global role with the
role:manageProjectscope. The CVSS vector rates privileges as high.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More n8n vulnerabilities
All n8n entriesCVE-2026-86073
n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution
medium5.9Sep 10, 2026CVE-2026-86074
n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content
medium5.9Sep 10, 2026CVE-2026-86075
n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration Endpoint
high8.7Sep 10, 2026CVE-2026-86076
n8n: Expression Sandbox Escape via Class-Field Sanitizer Rebinding Can Lead to Code Execution
high8.7Sep 10, 2026CVE-2026-86077
n8n: Anonymous Approval-Gate Bypass via Reused resumeToken over the Chat WebSocket
medium6.3Sep 10, 2026CVE-2026-86078
n8n: Prototype Pollution via Workflow Structure Summary Can Lead to Denial of Service
medium6.0Sep 10, 2026
