Intel

AIKIDO-2026-11080

node-red is vulnerable to Argument Injection

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 5, 2026
June 5, 2026

65

CVE Score

Medium

Argument Injection

Are you affected? Scan for Free

TL;DR

The Node-RED runtime exposes a Projects API that shells out to the git CLI with user-supplied refnames, remote names, remote URLs, and -c config values without validating their shape. An authenticated editor user can supply a value that begins with - or contains control characters so that git interprets it as a flag such as --upload-pack, --exec, or -c core.fsmonitor=, turning a normal projects operation into attacker-controlled flag execution. The fix introduces refname, remote-name, remote-URL, and git-config-value validators plus a central guardArgs step that rejects flag-like arguments before each git invocation in clone, pull, push, fetch, checkout, branch, commit, and file lookups.

How do I fix this?

Upgrade the node-red library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.18.0 - 4.1.10

Fixed in 4.1.11

Background info

node-red is vulnerable to Argument Injection in versions 0.18.0 - 4.1.10.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea