n8n SecurityScorecard node sends API tokens to attacker URLs

HighSE Fix-First Score 43/100CVE-2026-54304SE-AIV-01830Exposure of secrets or private dataAI apps and chat interfacesMade public 17 Jun 2026

Download as PDF

What this means

An authenticated user can trick n8n into sending a SecurityScorecard API token to a website they control. An attacker gains access to the credential and can use it to query SecurityScorecard on behalf of your company. If the credential has broad permissions, the attacker can access security data you use to make business decisions.

SecurityElites Manager Brief: the decision in one minute

Users with workflow editing permission can misconfigure n8n to leak SecurityScorecard API credentials to attacker-controlled servers. This exposes your security monitoring setup. You need to upgrade n8n immediately and check whether anyone with edit access has changed workflows since the last audit.

SecurityElites Fix-First Score43 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 30 days
High severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixPlatform engineering or DevOps team managing n8n infrastructure.
Likely effortAbout 30 minutes: check the current version, upgrade to the fixed version, and restart n8n. Plan for a brief service interruption during the restart. Checking logs for suspicious workflow changes could take longer depending on how many workflows you have.

Questions to ask your team or supplier

  • Who has permission to create and edit workflows in n8n, and how do we audit whether they made unexpected changes in the past month?
  • Do we have logs from SecurityScorecard showing all API requests made in the past 30 days, so we can check whether the leaked token was actually used?

Message you can forward to the owning team

Security notice: n8n SecurityScorecard node sends API tokens to attacker URLs (CVE-2026-54304)

Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to n8n 2.26.1 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-54304-n8n-securityscorecard-node-sends-api-tokens-to-attacker-urls/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01830

What is at stake in your AI setup

  • API keys and authentication tokens for external services like SecurityScorecard: attackers can use leaked tokens to make authenticated requests on your behalf.
  • Workflows and their configuration: leaked credentials combined with workflow access let attackers understand your security monitoring setup and potentially disable or modify alerts.

Map where your company uses AI

Who is exposed

  • Teams running n8n version 1.123.54 or earlier, or 2.25.6 or earlier, or 2.26.0.
  • Users with permission to create or edit workflows.
  • Instances using the SecurityScorecard node for credential-based workflows.
  • Setups where the SecurityScorecard credential is used across multiple workflows or by multiple users.

Upgrades you need

SoftwareAffected versionsMove to
n8n
npm
Every version before 1.123.55; 2.26.0 up to, but not including, 2.26.1; 2.0.0-rc.0 up to, but not including, 2.25.72.26.1 or later

Each maintained branch has its own fixed version. Stay on your branch if you cannot jump to the newest: n8n 1.123.55, 2.25.7, 2.26.1.

Am I affected?

Enter the version you run. Nothing you type is stored.

SecurityElites Developer Brief: the technical picture

Is it being attackedNo known attacks and no public attack code when CISA last reviewed it
Where the attacker must beAnywhere that can reach it over a network, including the internet if it is exposed
Account neededAn ordinary user account
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doEasy. It works reliably once the attacker can reach it
Risk of: data being readHigh
Risk of: data or settings being changedNone
Risk of: the service being taken downNone
Can attackers automate it at scaleNo, according to CISA. Each target needs manual work
How much control an attacker gainsPartial control, according to CISA

Read from the official severity rating: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Kind of coding mistake

  • CWE-200: information is exposed to the wrong party

Where it sits in the standards

OWASP Top 10 for LLM Applications 2025: LLM02 Sensitive Information Disclosure

If you cannot upgrade today

  • Immediately rotate your SecurityScorecard API token and update it in n8n. This prevents leaked tokens from being used.
  • Restrict workflow creation and editing permissions to only fully trusted users until you can upgrade.
  • Disable the SecurityScorecard node by setting the environment variable NODES_EXCLUDE to `n8n-nodes-base.securityScorecard`. This stops the node from running but does not fully protect existing workflows. Remove this setting after you upgrad

Signs it may already have been used against you

  • Review n8n workflow execution logs for SecurityScorecard node runs in the past 30 days. Look for requests that succeeded but target unusual or external URLs instead of SecurityScorecard's official API domain.
  • Check SecurityScorecard API access logs for requests from unexpected IP addresses or at unusual times, especially requests coming from outside your normal office network or cloud provider.
  • Audit workflow editor permissions and recent changes: list users who can edit workflows and review which workflows were modified by each user in the past month.
  • If available, check n8n audit logs for workflow modifications by users who do not normally touch SecurityScorecard workflows, or for new workflows added by unexpected accounts.

Log searches to start from

Find SecurityScorecard node executions targeting non-standard URLs (adapt source, host, and url field names to your environment)Splunk

source="n8n" node="securityScorecard" | where host NOT IN ("api.securityscorecard.io", "api.securityscorecard.com") | table _time, user, workflow, host, url

Find SecurityScorecard API access from unexpected source IPs (adapt source_ip field to your environment)Elastic

service:securityscorecard AND (source_ip:* AND NOT source_ip:("your.office.ip" OR "your.cloud.provider.ip")) | stats count by source_ip, timestamp

Written with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.

SecurityElites Fix Guide: step by step

  1. Find the n8n versionLog into n8n as an administrator. Go to Settings, then About. Record the version number shown.
  2. Check if you use SecurityScorecardIn n8n, search for workflows using the SecurityScorecard node. Go to Workflows, search or filter for SecurityScorecard. If no results appear, this risk is lower but you should still upgrade.
  3. Review recent workflow changesExport or screenshot a list of all workflows and their last-modified dates from the past 30 days. Note workflows using SecurityScorecard and who last edited them. This tells you whether to check for misuse.
  4. Rotate the SecurityScorecard API tokenBefore upgrading, regenerate your SecurityScorecard API token in the SecurityScorecard platform. This invalidates any token that may have been leaked. Update the credential in n8n with the new token.
  5. Upgrade n8nIf running version 1.123.54 or earlier, upgrade to 1.123.55 or later. If running 2.25.6 or earlier, upgrade to 2.25.7 or later. If running 2.26.0, upgrade to 2.26.1 or later. Follow n8n's official upgrade documentation for your deployment method.
  6. Restart n8nAfter upgrade, restart the n8n service or container. Confirm it starts successfully and that you can log in.
  7. Verify the fixLog in to n8n and check Settings > About to confirm the version is now 1.123.55, 2.25.7, 2.26.1 or later.
  8. Check for unauthorized workflow accessReview SecurityScorecard API logs or usage metrics for suspicious requests in the timeframe before you upgraded. Contact SecurityScorecard support if you see unexpected queries. If you have no access to those logs, alert your security team to review the rotation and monitor for misuse.

How to confirm it is fixed: Log into n8n, go to Settings > About, and confirm the version is 1.123.55 or later (for 1.x line), 2.25.7 or later (for 2.25.x line), or 2.26.1 or later (for 2.26.x line).

SecurityElites Quick Fixes: copy and paste

Upgrade n8n with npmupgrade

npm install n8n@2.26.1
npm ls n8n

Check n8n version via command line (Docker)for this issue

docker exec n8n n8n --version

Check n8n version via command line (Node.js installation)for this issue

npm list n8n

Disable SecurityScorecard node as temporary workaroundfor this issue

export NODES_EXCLUDE='n8n-nodes-base.securityScorecard'

Read a key from the environment instead of the code (Python)general hardening

import os
api_key = os.environ["SERVICE_API_KEY"]

Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.

Let your AI coding assistant do the upgrade

Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.

Instruction for your coding assistant

You are helping me fix a security vulnerability (CVE-2026-54304) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n   - n8n (npm): must be 2.26.1 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.

SecurityElites Incident Drill: could your team handle this?

Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.

What is the difference between the affected versions and the fixed versions of n8n for the 2.x release line?A good answer: Versions 2.26.0 and 2.25.6 and earlier are affected; versions 2.26.1 and 2.25.7 and later are fixed.
Why does rotating the SecurityScorecard API token matter even before we upgrade n8n?A good answer: If an attacker has already extracted the token, they can use it to make requests to SecurityScorecard unless the token is invalidated, so rotation stops active misuse while we prepare to upgrade.
What action by a user could cause this vulnerability to be exploited?A good answer: An authenticated user with workflow edit permission misconfigures the SecurityScorecard node to download a report from an attacker-controlled URL, which causes n8n to send the API token to that URL.
What does the NODES_EXCLUDE workaround do, and is it a permanent fix?A good answer: It disables the SecurityScorecard node so it cannot run, reducing immediate risk, but it is temporary and does not fix the underlying vulnerability—upgrading is still required.

Run a full timed drill with your team

Ticket for your backlog

Paste into Jira, GitHub Issues or any tracker that reads Markdown.

Ready-made ticket

## n8n SecurityScorecard node sends API tokens to attacker URLs (CVE-2026-54304)

**Severity:** High  |  **SE Fix-First Score:** 43/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-01830 https://securityelites.com/ai-vulnerabilities/cve-2026-54304-n8n-securityscorecard-node-sends-api-tokens-to-attacker-urls/

### Why this matters
An authenticated user can trick n8n into sending a SecurityScorecard API token to a website they control. An attacker gains access to the credential and can use it to query SecurityScorecard on behalf of your company. If the credential has broad permissions, the attacker can access security data you use to make business decisions.

### What to do
1. Find the n8n version
2. Check if you use SecurityScorecard
3. Review recent workflow changes
4. Rotate the SecurityScorecard API token
5. Upgrade n8n
6. Restart n8n
7. Verify the fix
8. Check for unauthorized workflow access

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-54304-n8n-securityscorecard-node-sends-api-tokens-to-attacker-urls/

### Done when
- [ ] n8n is at 2.26.1 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Log into n8n, go to Settings > About, and confirm the version is 1.123.55 or later (for 1.x line), 2.25.7 or later (for 2.25.x line), or 2.26.1 or later (for 2.26.x line).
- [ ] Logs were checked for signs of earlier use

SecurityElites Fix Tracker

Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.

Sign in to track this fix

Change history

  • 16 Jun 2026: Made public
  • 2 Dec 2026: Published

Official record

## Impact An authenticated user with permission to create or modify workflows and access to a SecurityScorecard credential with limited allowed domains could configure the SecurityScorecard node's report download operation to target an attacker-controlled URL. The node attached the SecurityScorecard API token to the outbound request, causing the credential to be sent to the attacker-controlled host bypassing credential configured limitations and exfiltrating.## Patches The issue has been fixed in n8n versions 1.123.55, 2.25.7, and 2.26.1. Users should upgrade to one of these versions or later to remediate the vulnerability.## Workarounds If upgrading is not immediately possible, administrators should consider the following temporary mitigations: - Limit workflow creation and editing permissions to fully trusted users only. - Disable the SecurityScorecard node by adding `n8n-nodes-base.securityScorecard` to the `NODES_EXCLUDE` environment variable.These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Weakness type: CWE-200

Use this record in your own tools

Get this record as JSON

curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-54304

For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker

The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 3 Dec 2026. Read the vendor advisory before changing a production system.