llama-index
Affected
- introduced
0.12.27, fixed0.12.41(ecosystem)
Fixed versions
0.12.41
Fix
- Fixed version
0.12.41pip install --upgrade llama-index==0.12.41
Advisory
Also known as: CVE-2025-6209, GHSA-2rhq-96q8-4vjq, PYSEC-2026-1558
The record has no summary.
A path traversal vulnerability exists in run-llama/llama_index versions 0.12.27 through 0.12.40, specifically within the encode_image function in generic_utils.py. This vulnerability allows an attacker to manipulate the image_path input to read arbitrary files on the server, including sensitive system files. The issue arises due to improper validation or sanitization of the file path, enabling path traversal sequences to access files outside the intended directory. The vulnerability is fixed in version 0.12.41.
Not rated by the source.
0.12.27, fixed 0.12.41 (ecosystem)0.12.41
0.12.41pip install --upgrade llama-index==0.12.41Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0