# Path traversal: definition and example

URL: https://mcpservercybersecurity.com/glossary/path-traversal/
Updated: 2026-11-16

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.

## 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](https://github.com/advisories/GHSA-93xw-j965-9mx3) (github.com), read 2026-11-16

## Related pages

- [Command injection](/glossary/command-injection/)
- [MCP roots](/glossary/mcp-roots/)
- [SSRF](/glossary/ssrf/)
- [How to Review an MCP Server for Security: Code and Tools](/guides/how-to-review-an-mcp-server-security/)
- [Securing a TypeScript MCP Server: Input, Binding and Tokens](/guides/securing-a-typescript-mcp-server/)
- [All glossary terms](/glossary/)
- [Package supply chain](/glossary/package-supply-chain/)
- [Protected resource metadata](/glossary/protected-resource-metadata/)
- [Guides](/guides/)
