{"id":"CVE-2025-45691","aliases":["GHSA-v2xr-wvrv-p969","PYSEC-2026-3047"],"title":"RAGAS has an Arbitrary File Read vulnerability","summary":"RAGAS has an Arbitrary File Read vulnerability","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","vendor":"ragas","product":"ragas","ecosystem":"pip","affected":["ragas >= 0.2.3, < 0.3.0-rc1"],"patched":["ragas 0.3.0-rc1"],"published":"2026-03-05","updated":"2026-07-13","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-v2xr-wvrv-p969","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691"},{"url":"https://github.com/explodinggradients/ragas/pull/1559"},{"url":"https://github.com/vibrantlabsai/ragas/pull/1991"},{"url":"https://github.com/vibrantlabsai/ragas/commit/b28433709cbedbb531db79dadcfbdbd3aa6adcb0"},{"url":"https://adithyanak.com/ragas-v0214-arbitrary-file-read-vulnerability"},{"url":"https://github.com/explodinggradients/ragas/blob/e97886ac976465efb60e5949c5d69baf30cc811d/src/ragas/prompt/multi_modal_prompt.py#L202"},{"url":"https://github.com/vibrantlabsai/ragas"}],"tags":["osv","pip"],"epss":0.00534,"epssPercentile":0.43995,"ingestedAt":"2026-07-13T18:58:03.069Z","slug":"CVE-2025-45691","body":"## Overview\n\nAn 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.\n\n## Affected packages\n\n- `ragas >= 0.2.3, < 0.3.0-rc1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `ragas 0.3.0-rc1`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}