GHSA-m63j-689w-3j35

Suggest an improvement
Source
https://github.com/advisories/GHSA-m63j-689w-3j35
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-m63j-689w-3j35/GHSA-m63j-689w-3j35.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m63j-689w-3j35
Aliases
Published
2026-03-25T21:08:33Z
Modified
2026-03-25T21:19:07.776290Z
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
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H CVSS Calculator
Summary
n8n is Vulnerable to Credential Theft via Name-Based Resolution and Permission Checker Bypass in Community Edition
Details

Impact

An authenticated user with the global:member role could exploit chained authorization flaws in n8n's credential pipeline to steal plaintext secrets from generic HTTP credentials (httpBasicAuth, httpHeaderAuth, httpQueryAuth) belonging to other users on the same instance.

The attack abuses a name-based credential resolution path that does not enforce ownership or project scope, combined with a bypass in the credentials permission checker that causes generic HTTP credential types to be skipped during pre-execution validation. Together, these flaws allow a member-role user to resolve another user's credential ID and execute a workflow that decrypts and uses that credential without authorization.

Native integration credential types (e.g. slackApi, openAiApi, postgres) are not affected by this issue.

This vulnerability affects Community Edition only. Enterprise Edition has additional permission gates on workflow creation and execution that independently block this attack chain.

Patches

The issue has been fixed in n8n versions 1.123.27, 2.13.3, and 2.14.1. 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 instance access to fully trusted users only. - Audit credentials stored on the instance and rotate any generic HTTP credentials (httpBasicAuth, httpHeaderAuth, httpQueryAuth) that may have been exposed.

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:08:33Z",
    "severity": "HIGH",
    "nvd_published_at": "2026-03-25T18:16:32Z",
    "cwe_ids": [
        "CWE-639"
    ]
}
References

Affected packages

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-m63j-689w-3j35/GHSA-m63j-689w-3j35.json"

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-m63j-689w-3j35/GHSA-m63j-689w-3j35.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-m63j-689w-3j35/GHSA-m63j-689w-3j35.json"