#VU123000 Path traversal in llama_index - CVE-2025-6209

 

#VU123000 Path traversal in llama_index - CVE-2025-6209

Published: February 17, 2026


Vulnerability identifier: #VU123000
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-6209
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
llama_index
Software vendor:
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.


Remediation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability..

External links