GHSA-jp7m-xcgx-57qm

Suggest an improvement
Source
https://github.com/advisories/GHSA-jp7m-xcgx-57qm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-jp7m-xcgx-57qm/GHSA-jp7m-xcgx-57qm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jp7m-xcgx-57qm
Aliases
Published
2026-07-22T22:21:20Z
Modified
2026-07-22T22:31:05Z
Severity
  • 6.0 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
n8n: External Secrets Permission Bypass via Expression Parser Mismatch
Details

Impact

Due to a mismatch between the static validation check and the runtime expression engine, an authenticated user with credential create or update permissions, but without the externalSecret:list scope, could embed external secret references into credentials in forms the validation did not detect. These references would resolve at workflow execution time, exposing secret values the user was not authorized to access.

This issue only affects instances where an external secrets provider is configured and Advanced Permissions are in use.

Patches

The issue has been fixed in n8n versions 1.123.61, 2.27.4, and 2.28.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 credential creation and update permissions to fully trusted users only.
  • Audit existing credentials for unexpected external secret references.

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

Database specific
{
    "cwe_ids":  [
        "CWE-639"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-22T22:21:20Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / n8n

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-jp7m-xcgx-57qm/GHSA-jp7m-xcgx-57qm.json"

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.28.0
Fixed
2.28.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-jp7m-xcgx-57qm/GHSA-jp7m-xcgx-57qm.json"

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0-rc.0
Fixed
2.27.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-jp7m-xcgx-57qm/GHSA-jp7m-xcgx-57qm.json"