GHSA-58qr-rcgv-642v

Suggest an improvement
Source
https://github.com/advisories/GHSA-58qr-rcgv-642v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-58qr-rcgv-642v/GHSA-58qr-rcgv-642v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-58qr-rcgv-642v
Aliases
Published
2026-03-25T21:07:45Z
Modified
2026-03-30T21:34:50.589497Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • 9.4 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H CVSS Calculator
Summary
n8n has Multiple Remote Code Execution Vulnerabilities in Merge Node AlaSQL SQL Mode
Details

Impact

An authenticated user with permission to create or modify workflows could use the Merge node's "Combine by SQL" mode to read local files on the n8n host and achieve remote code execution. The AlaSQL sandbox did not sufficiently restrict certain SQL statements, allowing an attacker to access sensitive files on the server or even compromise the intance.

Patches

The issue has been fixed in n8n versions 2.14.1, 2.13.3, and 1.123.27. 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: - Limit workflow creation and editing permissions to fully trusted users only. - Disable the Merge node by adding n8n-nodes-base.merge to the NODES_EXCLUDE environment variable.

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

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-25T21:07:45Z",
    "severity": "CRITICAL",
    "nvd_published_at": "2026-03-25T18:16:32Z",
    "cwe_ids": [
        "CWE-94",
        "CWE-89"
    ]
}
References

Affected packages

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.14.0
Fixed
2.14.1

Affected versions

2.*
2.14.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-58qr-rcgv-642v/GHSA-58qr-rcgv-642v.json"

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0-rc.0
Fixed
2.13.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-58qr-rcgv-642v/GHSA-58qr-rcgv-642v.json"

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.123.27

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-58qr-rcgv-642v/GHSA-58qr-rcgv-642v.json"