Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. GHSA-rcv6-pvrj-4xcg

GHSA-rcv6-pvrj-4xcg: n8n: Authenticated code execution in the n8n Git node

July 22, 2026

Authenticated n8n users with rights to create and execute workflows could achieve code execution on the n8n host. Using the Git node, under the default git security settings, by staging a crafted local repository, an attacker could cause git to run hooks, executing arbitrary commands as the n8n process user.

Both self-hosted and cloud instances are affected where authenticated users can create and execute workflows using the Git node.

References

  • github.com/advisories/GHSA-rcv6-pvrj-4xcg
  • github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f
  • github.com/n8n-io/n8n/releases/tag/n8n@1.123.67
  • github.com/n8n-io/n8n/releases/tag/n8n@2.31.5
  • github.com/n8n-io/n8n/releases/tag/n8n@2.32.1
  • github.com/n8n-io/n8n/security/advisories/GHSA-rcv6-pvrj-4xcg

Code Behaviors & Features

Detect and mitigate GHSA-rcv6-pvrj-4xcg with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.123.67, all versions starting from 2.0.0-rc.0 before 2.31.5, all versions starting from 2.32.0 before 2.32.1

Fixed versions

  • 1.123.67
  • 2.31.5
  • 2.32.1

Solution

Upgrade to versions 1.123.67, 2.31.5, 2.32.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/n8n/GHSA-rcv6-pvrj-4xcg.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:50 +0000.