Résumé
n8n: Git Node branch.<name>.remote Config Key Bypasses Sandbox Path Restriction, Enabling Local Git Repository Read
Détails de l’avis
Impact
The Git node validated the repository that a fetch or pull targeted, but setUpstream wrote a branch.<name>.remote value into the repository's own configuration without validating it. A subsequent fetch or pull resolved the remote from that configuration rather than from the checked parameter, so an authenticated user with workflow-edit permission could point it at any local repository the n8n process could read and receive its contents. The patch validates the branch remote configuration on the same terms as the repository parameter.
Patches
The issue has been fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Disable the Git node by adding
n8n-nodes-base.gitto theNODES_EXCLUDEenvironment variable. - Ensure the n8n process runs under a dedicated low-privilege OS user account to limit the scope of any filesystem access.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Références
- https://github.com/advisories/GHSA-qgpw-8g46-w95v
- https://github.com/n8n-io/n8n/security/advisories/GHSA-qgpw-8g46-w95v
- https://nvd.nist.gov/vuln/detail/CVE-2026-86995
- https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2
Vulnérabilités liées
Tout Supply chain →- HIGHCVE-2026-107377
datamodel-code-generator: Protobuf weak-import path traversal allows files to be written outside the temporary directory
- MEDIUMCVE-2026-60089
PraisonAI: Project config can auto-save agent output outside the project root
- HIGHCVE-2026-105744
Docling has arbitrary file read/write (and command execution when shell-escape is enabled) when rendering untrusted TikZ with the opt-in Tectonic engine
- HIGHCVE-2026-105865
Payload: Incomplete validation during the upload file lifecycle
- MEDIUMCVE-2026-105676
Ghost: Path Traversal via Locale Setting
- MEDIUMCVE-2026-106559
Backstage: Improper input validation in Confluence to Markdown scaffolder module