Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. CVE-2026-59209

CVE-2026-59209: n8n: Shared Credential Header Leak via HTTP Request Pagination Expression

July 22, 2026

An authenticated member with use-only editor access to a shared workflow could read credential-populated headers exposed via the $request object inside an HTTP Request node’s pagination expression. When an HTTP Header Auth credential is applied to a paginated request, the secret is present in $request.headers when pagination expressions are evaluated. A user-controlled expression could read that secret, copy it into item data, and exfiltrate it through a later HTTP Request node, bypassing credential domain restrictions, since the secret leaves via item data rather than the credential’s own request mechanism.

This issue only affects instances with N8N_EXPRESSION_ENGINE=vm set, where paginated HTTP Request workflows using shared credentials are accessible to non-owner users.

References

  • github.com/advisories/GHSA-q3j5-8vrg-4p9q
  • github.com/n8n-io/n8n/releases/tag/n8n%402.27.4
  • github.com/n8n-io/n8n/releases/tag/n8n%402.28.1
  • github.com/n8n-io/n8n/security/advisories/GHSA-q3j5-8vrg-4p9q
  • nvd.nist.gov/vuln/detail/CVE-2026-59209

Code Behaviors & Features

Detect and mitigate CVE-2026-59209 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.123.61, all versions starting from 2.0.0-rc.0 before 2.27.4, all versions starting from 2.28.0 before 2.28.1

Fixed versions

  • 1.123.61
  • 2.27.4
  • 2.28.1

Solution

Upgrade to versions 1.123.61, 2.27.4, 2.28.1 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/n8n/CVE-2026-59209.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:46 +0000.