unauth

← fix library

HIGH n8n: n8n CVE-2026-65595 — n8n: Privilege Escalation and Code Execution via Full Public API Key Scope Assig

Why it matters

n8n: Privilege Escalation and Code Execution via Full Public API Key Scope Assignment to Token Exchange JWTs

Fix it — 2 steps

  1. Upgrade to 2.30.1 or later. This is the only complete fix.
  2. Until patched, take it off the internet: `sudo ufw deny 5678` or bind it to localhost.

Verify it’s fixed

curl -s http://YOUR_SERVER_IP:5678/rest/settings | grep -o 'n8n@[0-9.]*'  # must be >= 2.30.1

References

Not sure if your stack is exposed?

Run the free check — 30 seconds, safe read-only probes.

Scan your stack