# CVE-2026-59209: n8n credential leak in HTTP Request node pagination expression

Source: https://junglewise.ai/threats/cve-2026-59209-n8n-credential-leak-in-http-request-node-pagination-expression  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-09. Updated: 2026-07-22  
License: CC BY 4.0 with a link back

CVE-2026-59209 · Severity: high · CVSS 4 · Published 2026-07-09

n8n is a workflow automation tool used to connect different software services. A security flaw allows users with limited access to shared workflows to steal sensitive authentication credentials (like API keys) used in those workflows. This could allow an unauthorized user to gain access to external services and data that they should not be able to reach.

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

## Quick answers

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

**How severe is CVE-2026-59209?** High severity, with a CVSS score of 4, published 9 July 2026.

**Which products and versions are affected?** N8n < 1.123.61, >= 2.0.0-rc.0 < 2.27.4, >= 2.28.0 < 2.28.1; n8n (npm) SEMVER:introduced=0,fixed=1.123.61.

**Is there a fix for CVE-2026-59209?** Yes. n8n (npm): upgrade to 1.123.61 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-59209 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-59209?** Check whether you run N8n or n8n (npm) 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.

## How to fix

- n8n (npm): upgrade to 1.123.61 or later

  ```sh
  npm install n8n@1.123.61
  ```


## Technical details

An information disclosure vulnerability exists in n8n when the N8N_EXPRESSION_ENGINE is set to 'vm'. Authenticated users with 'use-only' editor access to a shared workflow can exploit the HTTP Request node's pagination feature to read sensitive headers. Specifically, the '$request' object exposes credential-populated headers during pagination expression evaluation. An attacker can craft a custom expression to copy these secrets into item data and exfiltrate them via subsequent nodes, bypassing domain restrictions. The issue is fixed in versions 1.123.61, 2.27.4, and 2.28.1.

## Affected products

- n8n-io n8n < 1.123.61, >= 2.0.0-rc.0 < 2.27.4, >= 2.28.0 < 2.28.1

## Identifiers

- CVE-2026-59209
- GHSA-q3j5-8vrg-4p9q

## Timeline

- 2026-06-24: disclosed
- 2026-07-09: advisory: NVD publication
- 2026-07-22: patched: GitHub Advisory reviewed and updated

## References

- [https://api.github.com/users/sm1ee](https://api.github.com/users/sm1ee)
- [https://github.com/sm1ee](https://github.com/sm1ee)
- [https://api.github.com/users/sm1ee/gists%7B/gist_id%7D](https://api.github.com/users/sm1ee/gists%7B/gist_id%7D)
- [https://api.github.com/users/sm1ee/repos](https://api.github.com/users/sm1ee/repos)
- [https://avatars.githubusercontent.com/u/19336661?v=4](https://avatars.githubusercontent.com/u/19336661?v=4)
- [https://api.github.com/users/sm1ee/events%7B/privacy%7D](https://api.github.com/users/sm1ee/events%7B/privacy%7D)

## 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)
