Gửi #784463: griptape v0.19.4 Absolute Path Traversalthông tin

tiêu đềgriptape v0.19.4 Absolute Path Traversal
Mô tảThe `FileManagerTool` (backed by `LocalFileManagerDriver`) in Griptape provides capabilities to list, read, and write files. However, it fails to properly sanitize file paths provided by the LLM. It directly concatenates the llm-supplied path with the working directory. This allows for a path traversal vulnerability. An attacker can use prompt injection to coerce the LLM into providing paths containing `../` sequences. This enables the agent to: 1. **Read arbitrary files** (e.g., `/etc/passwd`) via `load_files_from_disk`. 2. **List arbitrary directories** via `list_files_from_disk`. 3. **Write to arbitrary files** via `save_content_to_file` or `save_memory_artifacts_to_disk`.
Nguồn⚠️ https://github.com/Ka7arotto/cve/blob/main/griptape/issue_fileManagerTool/issue.md
Người dùng
 Goku (UID 80486)
Đệ trình21/03/2026 02:57 (cách đây 7 các tháng)
Kiểm duyệt05/04/2026 07:17 (15 days later)
Trạng tháiđược chấp nhận
Mục VulDB355389 [griptape-ai griptape 0.19.4 FileManagerTool duyệt thư mục]
điểm20

Might our Artificial Intelligence support you?

Check our Alexa App!