{"data":{"id":"e7fcf266-f0ad-4919-adbf-0e6b1b72916c","title":"GHSA-jp7m-xcgx-57qm: n8n: External Secrets Permission Bypass via Expression Parser Mismatch","summary":"n8n had a security flaw where the system that checks permissions (static validation) didn't match the system that runs code (runtime expression engine), allowing authenticated users to sneak external secret references into credentials they weren't supposed to access. This could expose secret values at workflow execution time to users who lacked the proper authorization, but only affects instances with an external secrets provider configured and Advanced Permissions enabled.","solution":"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. If upgrading is not immediately possible, administrators should restrict credential creation and update permissions to fully trusted users only and audit existing credentials for unexpected external secret references, though these workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-jp7m-xcgx-57qm","publishedAt":"2026-07-22T22:21:20.000Z","cveId":"CVE-2026-59259","cweIds":null,"cvssScore":null,"cvssSeverity":"medium","severity":"medium","attackType":["supply_chain"],"issueType":"vulnerability","affectedPackages":["n8n@>= 2.0.0-rc.0, < 2.27.4 (fixed: 2.27.4)","n8n@>= 2.28.0, < 2.28.1 (fixed: 2.28.1)","n8n@< 1.123.61 (fixed: 1.123.61)"],"affectedVendors":["LangChain"],"affectedVendorsRaw":["n8n"],"classifierModel":"claude-haiku-4-5-20251001","classifierPromptVersion":"v3","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00315,"patchAvailable":true,"disclosureDate":"2026-07-22T22:21:20.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"api","llmSpecific":false,"classifierConfidence":0.75,"researchCategory":null,"atlasIds":["AML.T0010"]}}