# CVE-2026-54305: n8n improper access control in Dynamic Credentials EE endpoints

Source: https://junglewise.ai/threats/cve-2026-54305-n8n-improper-access-control-in-dynamic-credentials-ee-endpoints  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-23. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-54305 · Severity: critical · CVSS 9.9 · Published 2026-06-23

n8n is a workflow automation platform used by enterprises to orchestrate business processes and integrate multiple systems. In affected Enterprise deployments with the Dynamic Credentials feature enabled, an authenticated user with minimal privileges could hijack credentials belonging to other users, allowing attackers to execute workflows under stolen OAuth identities, exfiltrate data to external services, or disable critical integrations by revoking access tokens.

Technologies: [N8n](https://junglewise.ai/threats/technologies/n8n). Vendors: [N8n](https://junglewise.ai/threats/vendors/n8n).

## Quick answers

**Is CVE-2026-54305 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-54305 being exploited in the wild.

**How severe is CVE-2026-54305?** Critical severity, with a CVSS score of 9.9, published 23 June 2026.

**Which products and versions are affected?** N8n < 1.123.55, >= 2.0.0-rc.0 < 2.25.7, >= 2.26.0 < 2.26.2, < 1.123.55, >= 2.0.0-rc.0, < 2.25.7, >= 2.26.0, < 2.26.2, before 1.123.55, before 2.25.7, and 2.26.0 before 2.26.2 (Enterprise with Dynamic Credentials enabled).

**Is there a fix for CVE-2026-54305?** A patch was published on 2026-06-16: Patches released in versions 1.123.55, 2.25.7, and 2.26.2 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-54305 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-54305?** Check whether you run N8n at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

Three EE endpoints in the Dynamic Credentials feature lack per-resource ownership and scope validation, allowing any authenticated n8n session to perform unauthorized operations. The vulnerability permits an attacker with basic authentication (PR:L) to enumerate credential metadata across the instance without authorization, initiate OAuth flows to overwrite other users' stored tokens with attacker-controlled credentials, or revoke stored tokens entirely. Attack vector is network-based (AV:N) with no user interaction required (UI:N) and low attack complexity (AC:L). Successful exploitation enables persistent takeover of external service integrations through hijacked credentials and data exfiltration. The issue affects n8n Enterprise instances with Dynamic Credentials enabled. Patches are available in versions 1.123.55, 2.25.7, and 2.26.2 or later.

## Affected products

- n8n n8n before 1.123.55, before 2.25.7, and 2.26.0 before 2.26.2 (Enterprise with Dynamic Credentials enabled)

## Identifiers

- CVE-2026-54305
- GHSA-2j5h-858j-5mpf

## Timeline

- 2026-06-16: disclosed: Vulnerability published in GitHub Advisory Database
- 2026-06-16: patched: Patches released in versions 1.123.55, 2.25.7, and 2.26.2
- 2026-06-10: advisory: Security advisory GHSA-2j5h-858j-5mpf published on GitHub

## References

- [https://github.com/n8n-io/n8n/security/advisories/GHSA-2j5h-858j-5mpf](https://github.com/n8n-io/n8n/security/advisories/GHSA-2j5h-858j-5mpf)
- [https://github.com/n8n-io/n8n](https://github.com/n8n-io/n8n)

## Related threats

- [n8n path traversal in Databricks node](https://junglewise.ai/threats/cve-2026-119557-n8n-from-2-14-0-through-2-46-3-contains-a-path-traversal)
- [n8n remote code execution in deprecated Function nodes](https://junglewise.ai/threats/cve-2026-119408-n8n-before-2-42-6-2-43-x-before-2-43-3-and-3-x-before-3-0-1)
- [n8n Slack Trigger SSRF and token exfiltration](https://junglewise.ai/threats/cve-2026-118679-n8n-before-1-123-83-2-41-4-and-2-42-1-contains-a-server-side)
- [n8n prototype pollution in workflow history compaction](https://junglewise.ai/threats/cve-2026-118678-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-prototype)
- [n8n Local Gateway deep-link missing confirmation re-pairing](https://junglewise.ai/threats/cve-2026-118677-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-missing)
