PoC Monitor
← All CVEs
CVE-2025-6209published 7 Jul 2025 12:21 UTCData: JSON · API

Run-llama run-llama/llama_index

Arbitrary File Read through Path Traversal in run-llama/llama_index

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-29
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

run-llama run-llama/llama_index
  • >= unspecified, < 0.12.41

Fixed in 0.12.41

Mitigation

Upgrade run-llama/llama_index to 0.12.41 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published7 Jul 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.