Skip to content
CriticalVulnerability

GHSA-9g95-qf3f-ggrw: n8n has OS Command Injection in Git Node

Published
Record updated
View JSON
Affected
  • n8n >= 2.0.0, < 2.5.0, fixed in 2.5.0
  • n8n < 1.123.10, fixed in 1.123.10
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Authenticated users with permission to create or modify workflows could execute arbitrary system commands or read arbitrary files on the n8n host through the Git node. The issue is fixed in n8n versions 2.5.0 and 1.123.10.

Mitigation

Fixed in n8n 2.5.0 and 1.123.10. Upgrade to these versions or later. If upgrading is not immediately possible, limit workflow creation and editing permissions to fully trusted users, restrict or disable the Git node if not essential, and deploy n8n in a hardened environment with restricted OS privileges and network access. These workarounds do not fully remediate the risk and are short-term measures only.