CVE-2026-49465Network attack vector

Authenticated local repository disclosure via Git path bypass

Published Jun 23, 2026 · Updated Jun 23, 2026

Path traversal in the Git node in n8n before 1.123.48, 2.21.8, and 2.22.4 allows remote authenticated users to read local Git repositories. Clone accepts a local path as its source and Push accepts one as its target without applying N8N_RESTRICT_FILE_ACCESS_TO, permitting repository data to be copied into an allowed path. Exploitation requires workflow creation or modification permission and discloses only repositories readable by the n8n process.

CVSS severity6.0
Medium
EPSS probability0.54%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Path traversal in the Git node in n8n before 1.123.48, 2.21.8, and 2.22.4 allows remote authenticated users to read local Git repositories. Clone accepts a local path as its source and Push accepts one as its target without applying N8N_RESTRICT_FILE_ACCESS_TO, permitting repository data to be copied into an allowed path. Exploitation requires workflow creation or modification permission and discloses only repositories readable by the n8n process.

The record

CVE
CVE-2026-49465
Published
Jun 23, 2026
Updated
Jun 23, 2026
Vendor
n8n
Product
n8n
Classifications
CWE-22, T1005
Attack vector
network
Privileges
authenticated

Timeline

How it unfolded

  1. Jun 23, 2026CVE publishedPublication date reported by the CVE source.
  2. Jun 23, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=< 1.123.48
  2. Affected versionversion=>= 2.0.0-rc.0, < 2.21.8
  3. Affected versionversion=>= 2.22.0, < 2.22.4

What conditions does exploitation require?

Attack vectornetwork
Required privilegesauthenticated

What is affected?

n8n · n8nversion=< 1.123.48; version=>= 2.0.0-rc.0, < 2.21.8; version=>= 2.22.0, < 2.22.4

Published CVSS scores

7.7NIST National Vulnerability DatabaseCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
6.0GitHub, Inc.CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectornetwork
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
T1005Data from Local System

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo