Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. faf-mcp
  4. ›
  5. GHSA-j4r7-8ph4-43g3

GHSA-j4r7-8ph4-43g3: faf-mcp has an arbitrary local file read/write via unconfined `path` argument in FAF tools

August 19, 2026

faf-mcp MCP tools accept a caller-controlled path argument and resolve it (~ expansion + path.resolve()) straight into a filesystem read/write without confining it to a trusted project directory. An absolute path or ../ traversal is resolved and used as-is, so the server process can be made to read — and, via the file tools, write — files outside the intended .faf project context. The only remaining limit is OS file permissions.

References

  • github.com/Wolfe-Jam/faf-mcp/releases/tag/v2.1.3
  • github.com/Wolfe-Jam/faf-mcp/security/advisories/GHSA-j4r7-8ph4-43g3
  • github.com/advisories/GHSA-j4r7-8ph4-43g3

Code Behaviors & Features

Detect and mitigate GHSA-j4r7-8ph4-43g3 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.3

Fixed versions

  • 2.1.3

Solution

Upgrade to version 2.1.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

npm/faf-mcp/GHSA-j4r7-8ph4-43g3.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 08 Sep 2026 00:16:52 +0000.