GHSA-2rhq-96q8-4vjq · Severity: high · Ecosystem: pip — LlamaIndex vulnerable to Path Traversal attack through its encode_image function
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.
Conclusion & alert: CVE-2025-6209 is rated High Exploit Risk (67.5/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.44%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-03 | 0.16% | 0.44% | +0.29% |
| 2 | 2026-04-23 | 0.06% | 0.16% | +0.10% |
| 3 | 2025-07-08 | — | 0.06% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.0 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-2rhq-96q8-4vjq · Severity: high · Ecosystem: pip — LlamaIndex vulnerable to Path Traversal attack through its encode_image function
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-6209 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| llamaindex | llamaindex | >= 0.12.27, < 0.12.41 | cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/run-llama/llama_index/commit/cdeaab91a204d1c3527f177dac37390327aef274 | Patch |
| https://huntr.com/bounties/e89d14f8-bfe8-4c9a-bb2a-656c01cc9a68 | Exploit Third Party Advisory |