Advisory

GHSA-7c4h-vh2m-743m

Also known as: CVE-2026-21893

Summary

n8n Vulnerable to Command Injection in Community Package Installation

Details

Impact
A Command Injection vulnerability was identified in n8n’s community package installation functionality. The issue allowed authenticated users with administrative permissions to execute arbitrary system commands on the n8n host under specific conditions.

Important context

  • Exploitation requires _administrative_ access to the n8n instance.
  • The affected functionality is restricted to trusted users who are already permitted to install third-party community packages.
  • No unauthenticated or low-privilege exploitation is possible.
  • There is no evidence of exploitation in the wild.

Because administrative users can already extend n8n with custom or community code, the vulnerability does not meaningfully expand the threat model beyond existing administrator capabilities. However, it represents a violation of secure coding practices and has therefore been addressed.

Patches
Users are advised to upgrade to n8n version 1.120.3 or later, which fully resolves the issue.

As a general security best practice, n8n instance owners should ensure that:

  • Administrative access is limited to trusted users only.
  • Community packages are installed only from trusted sources.
  • Instances are kept up to date with the latest security releases.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-02-04 17:49 UTC
Modified
2026-02-04 19:53 UTC

Affected packages and fixes

n8n

npm · All systems

Affected

  • introduced 0.187.0, fixed 1.120.3 (semver)

Fixed versions

1.120.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences