Command injection in n8n - #VU141004
Published: August 5, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper neutralization of special elements in repository-local git configuration handling in the n8n Git node when processing a repository with crafted local git configuration values. A remote user can plant a malicious repository-local configuration value to execute arbitrary code.
Exploitation requires a separate file-write vulnerability to place the malicious value in the repository's local configuration, and any subsequent Git node operation against that repository triggers execution as the n8n process user.