{"id":"CVE-2026-59209","aliases":["CVE-2026-59209","GHSA-q3j5-8vrg-4p9q"],"related":[],"kind":"vulnerability","state":"published","title":"n8n: Shared Credential Header Leak via HTTP Request Pagination Expression","summary":"n8n is an open source workflow automation platform. Prior to 1.123.61, 2.27.4, and, 2.28.1, 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 and exfiltrate the secret through item data. This issue is fixed in versions 1.123.61, 2.27.4, and 2.28.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"n8n is an open source workflow automation platform. Prior to 1.123.61, 2.27.4, and, 2.28.1, 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 and exfiltrate the secret through item data. This issue is fixed in versions 1.123.61, 2.27.4, and 2.28.1.","source":"cvelist"},{"lang":"en","text":"## Impact\nAn 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.\n\nThis issue only affects instances with `N8N_EXPRESSION_ENGINE=vm` set, where paginated HTTP Request workflows using shared credentials are accessible to non-owner users.\n\n## Patches\nThe issue has been fixed in n8n versions 1.123.61, 2.27.4, and 2.28.1. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict workflow sharing to fully trusted users only.\n- Avoid sharing credentials with use-only access to untrusted users on workflows that use HTTP Request nodes with pagination enabled.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","format":"markdown","source":"ghsa"},{"lang":"es","text":"n8n es una plataforma de automatización de flujos de trabajo de código abierto. Antes de las versiones 1.123.61, 2.27.4 y 2.28.1, un miembro autenticado con acceso de editor de solo uso a un flujo de trabajo compartido podría leer encabezados poblados con credenciales expuestos a través del objeto $request dentro de la expresión de paginación de un nodo de Solicitud HTTP y exfiltrar el secreto a través de los datos del elemento. Este problema está solucionado en las versiones 1.123.61, 2.27.4 y 2.28.1.","source":"nvd"}],"published":"2026-07-09T15:32:27.537Z","modified":"2026-10-25T17:10:00.197Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-200","CWE-522"],"affected":[{"ranges":[{"version":">= 2.28.0, < 2.28.1","status":"affected"},{"version":">= 2.0.0-rc.0, < 2.27.4","status":"affected"},{"version":"< 1.123.61","status":"affected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.123.61"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.28.0","status":"affected","fixed":"2.28.1"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","status":"affected","fixed":"2.27.4"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.123.61"},{"status":"affected","fixed":"1.123.61"},{"status":"affected","introduced":"2.0.0","fixed":"2.27.4"},{"status":"affected","introduced":"2.0.0","fixed":"2.27.4"},{"status":"affected","version":"2.28.0"},{"status":"affected","version":"2.28.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-q3j5-8vrg-4p9q","tags":["mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n%402.27.4","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n%402.28.1","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59209","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-09T17:28:13.567Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59209","url":"https://www.cve.org/CVERecord?id=CVE-2026-59209","licence":"CVE Terms of Use","modified":"2026-07-09T17:28:23.567Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q3j5-8vrg-4p9q","url":"https://github.com/advisories/GHSA-q3j5-8vrg-4p9q","licence":"CC-BY-4.0","modified":"2026-07-22T22:00:25.733Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59209","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59209","licence":"Public domain","modified":"2026-10-25T17:10:00.197Z"}],"updatedAt":"2026-11-25T22:59:27.514Z","epss":{"score":0.00306,"percentile":0.25187,"date":"2026-12-01T12:00:22.000Z"}}