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

Advisory record · `GHSA-wq64-hcrf-8m56` · Withdrawn

- **Identifiers:** `GHSA-wq64-hcrf-8m56`
- **State:** Withdrawn
- **Severity:** CVSS 4.0, no score published
- **Critical:** No
- **Weakness (CWE):** [CWE-269](https://cwe.mitre.org/data/definitions/269.html)
- **Tags:** [Privilege escalation](https://agentprime.io/advisories/tag/privilege-escalation.md)
- **Published:** 22 Jul 2026
- **Updated:** 22 Jul 2026
- **Reviewed by a person:** No

**Withdrawn.** The GitHub Advisory Database withdrew this advisory on 22 Jul 2026. The record stays here, marked withdrawn.

Published by the GitHub Advisory Database at 22 Jul 2026, 12:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `n8n` (npm): affected `all versions`; no fixed version yet

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- Score not published, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 22 Jul 2026. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-wq64-hcrf-8m56](https://github.com/advisories/GHSA-wq64-hcrf-8m56)
- [OSV: GHSA-wq64-hcrf-8m56](https://osv.dev/vulnerability/GHSA-wq64-hcrf-8m56)
- <https://github.com/n8n-io/n8n/security/advisories/GHSA-777w-rpr6-c52h>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-65595>
- <https://www.vulncheck.com/advisories/n8n-before-privilege-escalation-via-token-exchange>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-wq64-hcrf-8m56>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-wq64-hcrf-8m56/>. Everything for agents: <https://agentprime.io/llms.txt>.
