Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in n8n-nodes-final-mile (npm)

0
Critical
Published: 07/17/2026 (07/17/2026, 13:26:59 UTC)
Source: GCVE Database
Product: n8n-nodes-final-mile

Description

The n8n-nodes-final-mile npm package versions 1.0.0 through 1.0.5 contain malicious code that executes immediately when loaded. This code opens a reverse shell to a remote attacker, attempts Docker container escapes to gain persistent root SSH access, and exfiltrates sensitive host information including system files and environment data. The package disguises its malicious payload behind a benign-looking stub file.

Affected software

npmghsa
n8n-nodes-final-mile
Affected versions
=1.0.5=1.0.1=1.0.3=1.0.4=1.0.0=1.0.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 23:42:17 UTC

Technical Analysis

The n8n-nodes-final-mile package (versions 1.0.0 to 1.0.5) is a malicious npm package targeting the n8n automation platform. Its main module (index.js) is a self-executing script that, upon loading, opens a reverse shell to a remote IP address, granting the attacker root-level interactive control. It further attempts Docker container escapes by bind-mounting the host root filesystem and using privileged namespace entry to append an attacker-controlled SSH public key to the root user's authorized_keys file, enabling persistent access. Additionally, it collects and exfiltrates sensitive host data including hostname, user ID, network interfaces, Docker container information, environment variables, and critical system files such as /etc/shadow and Kubernetes configuration files. The package uses a benign stub file (MyNode.js) as a cover to hide the malicious index.js payload. This behavior was identified by Amazon Inspector and the OpenSSF Package Analysis project, confirming the package's malicious nature.

Potential Impact

Successful execution of this package results in full root-level compromise of the host system where n8n is running. The attacker gains interactive shell access, persistent SSH backdoor access, and can exfiltrate sensitive system and Kubernetes configuration data. This can lead to complete system takeover, data theft, and further lateral movement within the environment.

Mitigation Recommendations

No official patch or remediation is available for this malicious package. The recommended mitigation is to immediately remove all versions of the n8n-nodes-final-mile package (versions 1.0.0 through 1.0.5) from your environment. Do not install or use this package. Review systems where this package was installed for signs of compromise, including unauthorized SSH keys, unexpected network connections, and presence of reverse shells. Rotate credentials and audit for persistence mechanisms. Use trusted sources and verify package integrity before installation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10776
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a6150ee9c2644c7f8da2d0c

Added to database: 07/22/2026, 23:23:26 UTC

Last enriched: 07/22/2026, 23:42:17 UTC

Last updated: 07/28/2026, 17:06:43 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses