Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-86995— n8n: Git Node branch.<name>.remote Config Key Bypasses Sandbox Path Restriction, Enabling Local Git Repository Read

Quick assessment

Affected
n8n-io n8n
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

n8n 是一个开源的工作流自动化平台。在 1.123.76、2.37.7 和 2.38.2 之前,Git 节点在 或 操作时会校验 参数,但 函数在将 值写入仓库配置时未对其进行校验。后续的 或 操作会直接从该配置中解析远程仓库,而不是使用已校验的参数。因此,经过身份验证的工作流编辑器可以将 Git 指向 n8n 进程可读取的任意本地仓库,并通过 获取其内容。该问题已在版本 1.123.76、2.37.7 和 2.38.2 中修复。

CVSS 5.3 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-86995

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
n8n: Git Node branch.<name>.remote Config Key Bypasses Sandbox Path Restriction, Enabling Local Git Repository Read
Source: CVE Program / CVE List V5
Vulnerability Description
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the Git node validated the repository parameter for fetch or pull, but setUpstream wrote a branch..remote value into repository configuration without validating it. A later fetch or pull resolved the remote from that configuration instead of the checked parameter. An authenticated workflow editor could therefore point Git at any local repository readable by the n8n process and receive its contents through packages/nodes-base/nodes/Git/GenericFunctions.ts. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
文件名或路径的外部可控制
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
n8n-io n8n >= 2.38.0, < 2.38.2 -

II. Public POCs for CVE-2026-86995

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-86995

登录查看更多情报信息。

Patches & Fixes for CVE-2026-86995 (1)

Vendor Advisories for CVE-2026-86995 (1)

Vendor Pages for CVE-2026-86995 (2)

Same Patch Batch · n8n-io · 2026-09-08 · 17 CVEs total

CVE-2026-86076 8.7 HIGH n8n: Expression Sandbox Escape in Editor-UI Enables Stored Cross-User JavaScript Execution
CVE-2026-86075 8.7 HIGH n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration E
CVE-2026-86083 7.7 HIGH n8n: Expression Sandbox Escape via Shared Builtin Tampering and Code-Printer Injection Lea
CVE-2026-86082 7.1 HIGH n8n: Domain-Restriction Bypass via Unguarded Model-Search Endpoint in OpenAI Chat Model No
CVE-2026-86081 7.1 HIGH n8n: Regular Expression Denial of Service in the Default Blocked-File-Pattern Match via a
CVE-2026-86077 6.3 MEDIUM n8n: Anonymous Approval-Gate Bypass via Reused resumeToken over the Chat WebSocket
CVE-2026-86080 6.3 MEDIUM n8n: GitHub Trigger 422 Reuse Path Skips Webhook Secret Storage, Causing Signature Verific
CVE-2026-86079 6.3 MEDIUM n8n: Path Injection in Elasticsearch and ElasticSecurity Nodes via Unencoded Identifiers
CVE-2026-86084 6.0 MEDIUM n8n: Disabled OIDC SSO Endpoints Remain Active and Issue Valid Sessions
CVE-2026-86078 6.0 MEDIUM n8n: Prototype Pollution via Workflow Structure Summary Can Lead to Denial of Service
CVE-2026-86073 5.9 MEDIUM n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution
CVE-2026-86074 5.9 MEDIUM n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content
CVE-2026-86993 5.9 MEDIUM n8n: Log Streaming Event Destinations Decrypt Generic-Auth Credentials Without Ownership C
CVE-2026-86994 5.3 MEDIUM n8n: Cross-User Active Workflow ID and Lifecycle Event Disclosure via Missing userId Filte
CVE-2026-86996 5.3 MEDIUM n8n: Agent Workflow Tool Bypasses Sub-Workflow Caller Policy
CVE-2026-86085 5.1 MEDIUM n8n: Cross-Tenant Project-Member PII Disclosure via Missing Per-Project Scope Check on Rol

IV. Related Vulnerabilities

V. Comments for CVE-2026-86995

No comments yet


Leave a comment