Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-6209

7.5 · HIGH
Published Jul 7, 2025 llamaindex CWE-29 EPSS 0.55% (44th pctl)

Overview

CVE-2025-6209 is a high-severity vulnerability affecting llamaindex llamaindex. It was published on July 7, 2025 and has a CVSS 3.0 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.0 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from llamaindex. Update llamaindex to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
llamaindex llamaindex >= 0.12.27, < 0.12.41 Affected

Frequently Asked Questions

What is CVE-2025-6209?

CVE-2025-6209 is a high-severity vulnerability affecting llamaindex llamaindex. It was published on July 7, 2025 and has a CVSS 3.0 base score of 7.5 (HIGH).

How severe is CVE-2025-6209?

This vulnerability has a CVSS 3.0 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-6209?

Check the references section for vendor advisories and patches from llamaindex. Update llamaindex to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-6209?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-6209 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.