#VU123000 Path traversal in llama_index - CVE-2025-6209
Published: February 17, 2026
llama_index
run-llama (LlamaIndex)
Description
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in run-llama/llama_index, specifically within the `encode_image` function in `generic_utils.py`. A remote attacker can send a specially crafted HTTP request and manipulate the `image_path` input to read arbitrary files on the server, including sensitive system files.