{"data":{"id":"75cf8980-9546-4f81-a62f-0734592fbbd4","title":"GHSA-pf2q-pxhf-hgmw: n8n: Path-Confinement Bypass in computer-use search_files Allows Reading Files Outside the Base Directory","summary":"A security flaw in n8n's computer-use component allowed attackers to bypass path confinement (a security boundary that restricts file searches to a specific directory) by using specially crafted search patterns, potentially exposing file names and contents from anywhere on the system. This affected any deployment where an attacker could control the search input to the file-search tool.","solution":"The issue has been fixed in n8n versions 2.31.5 and 2.32.1. Users should upgrade to one of these versions or later. If immediate upgrading is not possible, the source mentions temporary workarounds: restrict n8n access to fully trusted users only, disable or remove AI agent workflows using the computer-use package until patching, and ensure the n8n process runs under a dedicated low-privilege user account (a restricted account with minimal permissions) to limit accessible files. The source notes these workarounds do not fully fix the risk and should only be short-term measures.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-pf2q-pxhf-hgmw","publishedAt":"2026-07-22T22:13:36.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":"medium","severity":"medium","attackType":["rag_poisoning"],"issueType":"vulnerability","affectedPackages":["n8n@< 2.31.5 (fixed: 2.31.5)","n8n@>= 2.32.0, < 2.32.1 (fixed: 2.32.1)"],"affectedVendors":[],"affectedVendorsRaw":["n8n","n8n computer-use"],"classifierModel":"claude-haiku-4-5-20251001","classifierPromptVersion":"v3","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"patchAvailable":true,"disclosureDate":"2026-07-22T22:13:36.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.85,"researchCategory":null,"atlasIds":null}}