GHSA-664h-gpgq-h6xx

Suggest an improvement
Source
https://github.com/advisories/GHSA-664h-gpgq-h6xx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-664h-gpgq-h6xx/GHSA-664h-gpgq-h6xx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-664h-gpgq-h6xx
Aliases
Downstream
Published
2026-06-17T13:55:59Z
Modified
2026-07-09T04:11:38Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:N CVSS Calculator
Summary
n8n: Wrong OAuth Scope on Evaluation Test Runs Endpoints
Details

Impact

Three mutating endpoints in the evaluation test runs controller authorized state-changing actions using workflow:read instead of the action-appropriate workflow:execute scope. An authenticated user with project:viewer role on a project could start new evaluation test runs, cancel in-flight runs, and delete run records for workflows they only had read access to.

This issue only affects instances with Advanced Permissions (Enterprise/Cloud) where projects and viewer roles are in use.

Patches

The issue has been fixed in n8n versions 1.123.55, 2.25.7, and 2.26.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 project membership to fully trusted users only.
  • Avoid granting viewer access to projects containing sensitive workflows.

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

Database specific
{
    "cwe_ids":  [
        "CWE-863"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-17T13:55:59Z",
    "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.55

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-664h-gpgq-h6xx/GHSA-664h-gpgq-h6xx.json"

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.26.0
Fixed
2.26.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-664h-gpgq-h6xx/GHSA-664h-gpgq-h6xx.json"

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0-rc.0
Fixed
2.25.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-664h-gpgq-h6xx/GHSA-664h-gpgq-h6xx.json"