node-red is vulnerable to Argument Injection
65
CVE Score
Medium
Argument Injection
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.
Upgrade the node-red library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.18.0 - 4.1.10
Fixed in 4.1.11node-red is vulnerable to Argument Injection in versions 0.18.0 - 4.1.10.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.