CVE-2025-6209
Last modified
CVE-2025-6209 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.55% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Llamaindex | Llamaindex | >= 0.12.27, < 0.12.41 |
References
- https://huntr.com/bounties/e89d14f8-bfe8-4c9a-bb2a-656c01cc9a68Exploit, Third Party Advisory
- https://huntr.com/bounties/e89d14f8-bfe8-4c9a-bb2a-656c01cc9a68Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-6209?
How severe is CVE-2025-6209?
How do I fix CVE-2025-6209?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-62084Cross-Site Request Forgery (CSRF) vulnerability in Imdad Nex…4.3
- CVE-2025-62085Missing Authorization vulnerability in Bertha AI – Andrew Pa…5.3
- CVE-2025-62086Missing Authorization vulnerability in akazanstev Яндекс Дос…5.4
- CVE-2025-62087Missing Authorization vulnerability in Web Builder 143 Stick…4.3
- CVE-2025-62088Server-Side Request Forgery (SSRF) vulnerability in extendon…5.4
- CVE-2025-62089Cross-Site Request Forgery (CSRF) vulnerability in MERGADO M…4.3
- CVE-2025-62090Missing Authorization vulnerability in Jegstudio Gutenverse …6.5
- CVE-2025-62091Missing Authorization vulnerability in Vollstart Serial Code…5.4
- CVE-2025-62092Missing Authorization vulnerability in Wiremo Wiremo woo-rev…5.3
- CVE-2025-62093Improper Neutralization of Special Elements used in an SQL C…8.5
- CVE-2025-62094Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2025-62095Improper Neutralization of Input During Web Page Generation …6.5
Are you affected by CVE-2025-6209?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
