{"id":"CVE-2025-45691","aliases":["GHSA-v2xr-wvrv-p969","PYSEC-2026-3047"],"url":"https://o3.security/vulnerability/CVE-2025-45691","summary":"RAGAS has an Arbitrary File Read vulnerability","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.","published":"2026-03-05T00:00:00Z","modified":"2026-07-16T03:30:54.795607468Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"ragas","fixedVersion":"0.3.0-rc1"}],"fix":{"url":"https://github.com/explodinggradients/ragas/pull/1559","label":"explodinggradients/ragas#1559"},"references":[{"type":"WEB","url":"https://adithyanak.com/ragas-v0214-arbitrary-file-read-vulnerability"},{"type":"WEB","url":"https://github.com/explodinggradients/ragas/blob/e97886ac976465efb60e5949c5d69baf30cc811d/src/ragas/prompt/multi_modal_prompt.py#L202"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-45691.json"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-45691"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/45xxx/CVE-2025-45691.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2444875"},{"type":"FIX","url":"https://github.com/explodinggradients/ragas/pull/1559"},{"type":"FIX","url":"https://github.com/vibrantlabsai/ragas/pull/1991"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-16T03:30:54.795607468Z"}}