{"id":"CVE-2025-45691","aliases":["CVE-2025-45691","GHSA-v2xr-wvrv-p969","PYSEC-2026-3047"],"related":[],"kind":"vulnerability","state":"published","title":"RAGAS has an Arbitrary File Read vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de lectura arbitraria de archivos existe en la clase ImageTextPromptValue en Exploding Gradients RAGAS v0.2.3 a v0.2.14. La vulnerabilidad se origina en la validación y saneamiento inadecuados de las URL proporcionadas en el parámetro retrieved_contexts al manejar entradas multimodales.","source":"nvd"}],"published":"2026-03-05T00:00:00.000Z","modified":"2026-07-15T02:17:26.457Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"}],"cwes":["CWE-22","CWE-770","CWE-918"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-llama-stack-core-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.2.3","status":"affected","fixed":"0.3.0-rc1"}],"ecosystem":"PyPI","package":"ragas","purl":"pkg:pypi/ragas","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.2.3","lastAffected":"0.2.14"}],"vendor":"vibrantlabsai","product":"ragas","cpe":"cpe:2.3:a:vibrantlabsai:ragas:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0.2.3","status":"affected","fixed":"0.3.0-rc1"}],"ecosystem":"PyPI","package":"ragas","purl":"pkg:pypi/ragas","source":"pysec"}],"references":[{"url":"https://adithyanak.com/ragas-v0214-arbitrary-file-read-vulnerability","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/explodinggradients/ragas/pull/1559","tags":["exploit","issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/explodinggradients/ragas/blob/e97886ac976465efb60e5949c5d69baf30cc811d/src/ragas/prompt/multi_modal_prompt.py#L202","tags":["product","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/vibrantlabsai/ragas/pull/1991","tags":["exploit","issue-tracking","patch","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-45691","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2444875","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-45691.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/vibrantlabsai/ragas/commit/b28433709cbedbb531db79dadcfbdbd3aa6adcb0","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/vibrantlabsai/ragas","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/ragas","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-v2xr-wvrv-p969","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-06T09:32:37.219Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-45691","url":"https://www.cve.org/CVERecord?id=CVE-2025-45691","licence":"CVE Terms of Use","modified":"2026-07-15T01:26:17.573Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v2xr-wvrv-p969","url":"https://github.com/advisories/GHSA-v2xr-wvrv-p969","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:18.856Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-45691","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691","licence":"Public domain","modified":"2026-07-15T02:17:26.457Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3047","url":"https://osv.dev/vulnerability/PYSEC-2026-3047","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:43.986Z"}],"updatedAt":"2026-11-25T22:59:11.851Z","epss":{"score":0.00597,"percentile":0.49941,"date":"2026-12-01T12:00:22.000Z"}}