| 제목 | griptape v0.19.4 Absolute Path Traversal |
|---|
| 설명 | 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`.
|
|---|
| 원천 | ⚠️ https://github.com/Ka7arotto/cve/blob/main/griptape/issue_fileManagerTool/issue.md |
|---|
| 사용자 | Goku (UID 80486) |
|---|
| 제출 | 2026. 03. 21. AM 02:57 (17 날 ago) |
|---|
| 모더레이션 | 2026. 04. 05. AM 07:17 (15 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 355389 [griptape-ai griptape 0.19.4 FileManagerTool 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|