Path traversal: definition and example
Path traversal is a flaw in which a path supplied to a tool reaches files outside the directory the tool was meant to stay in. It matters for MCP because a model chooses the arguments, and the arguments may be shaped by untrusted content. The control is to resolve and check paths on the server and to sandbox the process.
Facts read on .
Example
One of the 25 advisories GitHub published for mcp-atlassian on 22 Sep 2026 is titled for arbitrary file read and exfiltration through an upload_attachment tool missing path validation.
Sources
- GHSA-93xw-j965-9mx3: mcp-atlassian arbitrary file read (github.com), read