Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-6209— Arbitrary File Read through Path Traversal in run-llama/llama_index

EPSS 0.44% · P63
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-6209

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Arbitrary File Read through Path Traversal in run-llama/llama_index
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
路径遍历:’..filename’
Source: NVD (National Vulnerability Database)
Vulnerability Title
LlamaIndex 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LlamaIndex是LlamaIndex开源的一个 LLM 应用程序的数据框架。 LlamaIndex 0.12.27至0.12.40版本存在安全漏洞,该漏洞源于generic_utils.py中encode_image函数路径验证不足,可能导致路径遍历攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
run-llamarun-llama/llama_index unspecified ~ 0.12.41 -

II. Public POCs for CVE-2025-6209

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-6209

登录查看更多情报信息。

Same Patch Batch · run-llama · 2025-07-07 · 6 CVEs total

CVE-2025-6210Hardlink-Based Path Traversal in run-llama/llama_index
CVE-2025-3044MD5 Hash Collision in run-llama/llama_index
CVE-2025-3225XML Entity Expansion vulnerability in run-llama/llama_index
CVE-2025-3046Path Traversal via Symbolic Links in run-llama/llama_index
CVE-2025-5472Denial of Service via Uncontrolled Recursive JSON Parsing in JSONReader in run-llama/llama

IV. Related Vulnerabilities

V. Comments for CVE-2025-6209

No comments yet


Leave a comment