INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2025-45691

RAGAS has an Arbitrary File Read vulnerability

CVE-2025-45691 ยท 2026-03-05 high

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Path traversal and file access
Also involves
RAG and Vector Store Weaknesses
Affected
ragas (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.6% chance of exploitation in 30 days

How it works, in short

Ragas' multimodal handling accepts URLs in retrieved context without adequate validation, so a crafted URL can make it read local files. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.