Advisory

GHSA-pmqw-72cg-wx85

Also known as: CVE-2026-54307

Summary

n8n: Credential Exfiltration via Permission Bypass

Details

Impact
A member-level user with editor access to a shared workflow could reference credentials they do not own via specific public API endpoints. Credential ownership checks were only enforced partially leading to cross-user credential access.

This issue affects instances where workflow sharing is enabled and at least one workflow has been shared with a member-level user as an Editor.

Patches
The issue has been fixed in n8n versions 1.123.55, 2.25.7, and 2.26.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 workflow sharing to fully trusted users only.
  • Audit shared workflows for unexpected credential references or recent modifications.

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

---
n8n has adopted CVSS 4.0 as primary score for all security advisories. CVSS 3.1 vector strings are provided for backwards compatibility.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-06-16 23:02 UTC
Modified
2026-07-08 17:45 UTC

Affected packages and fixes

n8n

npm · All systems

Affected

  • introduced 0, fixed 1.123.55 (semver)

Fixed versions

1.123.55

Fix

n8n

npm · All systems

Affected

  • introduced 2.26.0, fixed 2.26.2 (semver)

Fixed versions

2.26.2

Fix

n8n

npm · All systems

Affected

  • introduced 2.0.0-rc.0, fixed 2.25.7 (semver)

Fixed versions

2.25.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences