All vulnerabilities

Servers and applications

GHSA-hvrx-jc5j-pg3w

Improper Authorization in Source Control Push Allows Cross-Project Workflow and Credential Deletion

Severity
Medium 5.9
Published
2 Sept 2026
Last changed
2 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.123.76, 2.37.7, 2.38.2
Attack
Over the network · Only under certain conditions · Needs an administrator account · No user action needed
Attacker can
Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

The source control push endpoint took the file paths and their status from the request payload. A project-scoped user could therefore name files belonging to projects they had no access to, and push a deletion of another project's workflows and credentials. The patch derives the push targets from the server-side status computed for the requesting user, so the request payload cannot widen the push.

The attack requires the Source Control (Environments) enterprise feature to be licensed, enabled, and connected to a remote repository.

From n8n-io/n8n's security advisory.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Audit project memberships and revoke the project-admin role from any users who do not require it.
  • Temporarily disable or disconnect the Source Control (Environments) feature until the instance is patched.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Workarounds as given by n8n-io/n8n's security advisory.

Affected software

SoftwareAffected versions
n8nServers and applications · github:n8n-io/n8n
  • Every version before 1.123.76
  • Every version before 2.38.2
  • Every version before 2.37.7

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
103,525npm, 15 Nov 2026
Docker Hub pulls
286,090,810Docker Hub, 15 Nov 2026
GitHub stars
210,541GitHub, 15 Nov 2026
Forks
61,525GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References