CVE-2025-45691
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk41th percentile - higher than 41% of all known CVEs
Summary
An Arbitrary File Read vulnerability exists in the ImageTextPromptValue class in RAGAS versions 0.2.3 to 0.2.14. It stems from improper validation and sanitization of URLs supplied in the retrieved_contexts parameter when handling multimodal inputs.
Risk Assessment
An attacker can read arbitrary files from the system, leading to exposure of sensitive data such as configurations, keys, or user data.
Recommendation
Immediately update RAGAS to version 0.2.15 or later, which includes a fix for URL validation.
Other vulnerabilities in RAGAS
Original NVD description (English source)
An Arbitrary File Read vulnerability exists in the ImageTextPromptValue class in Exploding Gradients RAGAS v0.2.3 to v0.2.14. The vulnerability stems from improper validation and sanitization of URLs supplied in the retrieved_contexts parameter when handling multimodal inputs.

