Browse / Tool and Agent Misuse / Path traversal and file access
Path traversal and file access
12 records in Tool and Agent Misuse.
- PraisonAI: FastContext path resolution permits absolute and traversal reads outside the workspace Agent file-search tools accept absolute and traversal paths without confining them to the workspace, so model-driven calls read files outside the project.
- PraisonAI: [Path Traversal] agent tools escape the configured workspace via symlinks Agent file and command tools check the workspace boundary with abspath, so in-workspace symlinks and relative paths let prompt-driven calls reach files outside it.
- praisonaiagents: ast_grep_rewrite rewrites arbitrary files without the @require_approval gate enforced on every sibling mutation tool An AI-callable rewrite tool omits the approval decorator used by sibling file-changing tools, so the model can rewrite files without confirmation.
- PraisonAI Dynamic Context history and terminal tools read files outside configured storage via path traversal Agent-callable history and terminal tools join caller-supplied identifiers into file paths without rejecting absolute paths or traversal sequences, exposing files outside the storage directory.
- PraisonAI: Arbitrary File Read/Write via `multiedit` Tool Without Path Validation The multiedit tool reads and writes any path an agent supplies because it skips the traversal and workspace checks used elsewhere, so prompts can reach sensitive files.
- Semantic Kernel has Arbitrary File Write via AI Agent Function Calling in .NET SDK An agent's function calls to file download and upload methods accept arbitrary local paths, so model-driven calls can read or write files outside the intended area.
- Claude Code has Permission Deny Bypass Through Symbolic Links Deny rules check the requested path but not its symlink target, so the agent can read a file that a user explicitly blocked.
- @anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes A parsing error in the sed command validator lets a crafted expression pass read-only checks and write to arbitrary files.
- Flowise is vulnerable to arbitrary file exposure through its ReadFileTool
- Flowise is vulnerable to arbitrary file write through its WriteFileTool
- Claude Code permission deny bypass through symlink Claude Code's deny rules matched the path string rather than the symlink target, so a denied file could be read through a symlink.
- Markdownify MCP Server allows attackers to read arbitrary files A crafted prompt can make the Markdownify MCP server's file tool read arbitrary files on the host, since the tool does not restrict which paths it opens.