p PatchFirst

CVE-2026-49465

CVE-2026-49465 · n8n: Git Node Clone and Push Operations Bypass File Sandbox

This page contains facts from public vulnerability sources. Check the original advisory before updating.

n8n is an open source workflow automation platform. Prior to 1.123.48, 2.21.8, and 2.22.4, an authenticated user with permission to create or modify workflows could supply a local filesystem path as the source repository in the Git node's Clone operation, or as the target repository in the Push operation, bypassing the N8N_RESTRICT_FILE_ACCESS_TO file sandbox. This allowed the contents of any local git repository accessible to the n8n process to be cloned into an allowed path and read, circumventing the access restrictions that correctly blocked direct file reads to the same paths. This vulnerability is fixed in 1.123.48, 2.21.8, and 2.22.4.

CVSS 6.0 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • n8n

    Versions
    • < 1.123.48: Affected
    • >= 2.0.0-rc.0, < 2.21.8: Affected
    • >= 2.22.0, < 2.22.4: Affected

    No fix published

  • n8n npm

    Affected ranges
    • SEMVER: < 1.123.48

    Update to 1.123.48

  • n8n npm

    Affected ranges
    • SEMVER: ≥ 2.22.0, < 2.22.4

    Update to 2.22.4

  • n8n npm

    Affected ranges
    • SEMVER: ≥ 2.0.0-rc.0, < 2.21.8

    Update to 2.21.8

Original sources

Check your server →