{"data":{"id":"6f4e26a7-b2b8-4588-b20c-ffe4099e4e15","title":"GHSA-j4r7-8ph4-43g3: faf-mcp has an arbitrary local file read/write via unconfined `path` argument in FAF tools","summary":"faf-mcp versions before 2.1.3 accept a caller-controlled `path` argument in the shared `getProjectPath()` chokepoint and the `faf_read` and `faf_write` tools, resolving it without confinement to a project directory. An MCP client, or a prompt-injected LLM issuing a tool call, can read files such as SSH keys, cloud credentials and `.env` files, and `faf_write` can write outside the project (CWE-200).","solution":"Fixed in 2.1.3, which confines every caller-supplied `path` before filesystem access. Upgrade with `npm install -g faf-mcp@2.1.3` or `npx faf-mcp`. If upgrading is not possible immediately, run the server only against trusted local projects and set `FAF_ALLOWED_ROOTS` (patched versions) to a single project directory.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-j4r7-8ph4-43g3","publishedAt":"2026-08-19T19:15:13.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["faf-mcp@<= 2.1.2 (fixed: 2.1.3)"],"affectedPackageNames":["faf-mcp"],"affectedPackageRefs":["npm:faf-mcp"],"affectedVendors":[],"affectedVendorsRaw":["faf-mcp","MCP tools","grok-faf-mcp"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":["GHSA-j4r7-8ph4-43g3"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-08-19T19:15:13.000Z","fixReleasedAt":"2026-06-11T14:48:04.585Z","daysToFix":-69,"fixCheckedAt":"2026-10-29T21:31:39.008Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity"],"aiComponentTargeted":"plugin","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"npm","name":"faf-mcp","fixedVersion":"2.1.3","matchedVersion":"2.1.3","fixReleasedAt":"2026-06-11T14:48:04.585Z","daysToFix":-69,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:31:38.852Z"}]}}