RAGAS has an Arbitrary File Read vulnerability
CVE-2025-45691 · GHSA-v2xr-wvrv-p969 · published 2026-03-05 · updated 2026-04-08
- Severity
- High
- CVSS score
- 7.5
- Chance of exploitation (EPSS)
- 0.60%
- Fixed in
- Not on PyPI
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Partial
- CISA SSVC
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.
PyPI does not serve the fixed version this advisory names for ragas (0.3.0-rc1). The newest release on PyPI when checked on 2026-12-06 was 0.4.4; the advisory does not list it as affected.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| ragas | PyPI | >= 0.2.3, < 0.3.0-rc1 | 0.3.0-rc1 (not on PyPI) |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- CriticalVibe-Trading FastAPI endpoints permit unauthenticated access, file upload, and an RCE chainvibe-trading-ai
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.