# CVE-2026-42227: n8n: Public API Variables IDOR Allows Cross-Project Secret Disclosure

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-04-29T21:21:00.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-756q-gq9h-fp22
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, an authenticated user with a valid API key scoped to variable:list could read variables from projects they are not a member of by supplying an arbitrary projectId query parameter to the public API variables endpoint. The handler queried the variables repository directly without enforcing project membership checks, bypassing the authorization-aware service layer used by the internal enterprise controller. If variables were misused to store sensitive information such as credentials or tokens, they should be rotated immediately. This issue only affects licensed enterprise or team deployments with multiple projects and the variables feature enabled. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.

(As written by CVE List.)

## Affected

- n8n-io n8n: < 1.123.32; >= 2.17.0, < 2.17.4; >= 2.18.0, < 2.18.1
- n8n (npm): before 1.123.32; from 2.18.0 before 2.18.1; from 2.0.0 before 2.17.4
- n8n n8n: before 1.123.32; from 2.17.0 before 2.17.4; 2.18.0

## Every score

- GitHub_M: CVSS:4.0 6.0 Medium `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`
- GitHub: CVSS:3.1 7.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-756q-gq9h-fp22> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42227> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-42227](https://www.cve.org/CVERecord?id=CVE-2026-42227), CVE Terms of Use, modified 2026-05-05
- GitHub Advisory Database: [GHSA-756q-gq9h-fp22](https://github.com/advisories/GHSA-756q-gq9h-fp22), CC-BY-4.0, modified 2026-05-08
- NVD: [CVE-2026-42227](https://nvd.nist.gov/vuln/detail/CVE-2026-42227), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-42227 · Whole record: https://cve.day/CVE-2026-42227.json · Rebuilt by cve.day 2026-11-25T22:59:20.551Z
