{"id":"PYSEC-2026-3046","summary":"RAGAS has SSRF via Multi-Modal Faithfulness Collections Module","details":"A security flaw has been discovered in vibrantlabsai RAGAS up to 0.4.3. The affected element is the function _try_process_local_file/_try_process_url of the file src/ragas/metrics/collections/multi_modal_faithfulness/util.py of the component Collections Module. Performing a manipulation of the argument retrieved_contexts results in server-side request forgery. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks. The security patch for CVE-2025-45691 was applied to a different module only. The vendor was contacted early about this disclosure but did not respond in any way.","aliases":["CVE-2026-6587","GHSA-95ww-475f-pr4f"],"modified":"2026-07-13T16:32:43.987086677Z","published":"2026-07-13T15:02:51.237201Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6587"},{"type":"WEB","url":"https://adithyanak.com/ragas-v0214-arbitrary-file-read-vulnerability"},{"type":"PACKAGE","url":"https://github.com/vibrantlabsai/ragas"},{"type":"WEB","url":"https://vuldb.com/submit/791088"},{"type":"WEB","url":"https://vuldb.com/vuln/358222"},{"type":"WEB","url":"https://vuldb.com/vuln/358222/cti"},{"type":"PACKAGE","url":"https://pypi.org/project/ragas"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-95ww-475f-pr4f"}],"affected":[{"package":{"name":"ragas","ecosystem":"PyPI","purl":"pkg:pypi/ragas"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.3"},{"last_affected":"0.4.3"}]}],"versions":["0.2.10","0.2.11","0.2.12","0.2.13","0.2.14","0.2.15","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9","0.3.0","0.3.0rc2","0.3.1","0.3.2","0.3.2rc1","0.3.2rc2","0.3.2rc3","0.3.3","0.3.3rc1","0.3.4","0.3.5","0.3.5rc1","0.3.5rc2","0.3.6","0.3.7","0.3.8","0.3.9","0.4.0","0.4.1","0.4.2","0.4.3"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/ragas/PYSEC-2026-3046.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}]}