{"id":"CVE-2025-45691","aliases":["GHSA-v2xr-wvrv-p969","PYSEC-2026-3047"],"summary":"An Arbitrary File Read vulnerability exists in the ImageTextPromptValue class in Exploding Gradients RAGAS v0.2.3 to v0.2.14.","published_at":"2026-03-05T00:00:00Z","modified_at":"2026-07-15T01:26:17.573Z","products":[],"rating":{"severity":"high","score":7.7,"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","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.006060000043362379,"percentile":0.49810999631881714,"date":"2026-11-19T00:00:00Z"},"priority":9.7,"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.","affected_stack":[],"affected_other":[{"ecosystem":"NVD","package":"vibrantlabsai:ragas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.3"},{"last_affected":"0.2.14"}]}],"provider":"nvd","source":"CVE-2025-45691","relation":"self"},{"ecosystem":"PyPI","package":"ragas","purl":"pkg:pypi/ragas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.3"},{"fixed":"0.3.0-rc1"}]}],"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"],"fixed":["0.3.0-rc1"],"provider":"osv","source":"GHSA-v2xr-wvrv-p969","relation":"self"},{"ecosystem":"PyPI","package":"ragas","purl":"pkg:pypi/ragas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.3"},{"fixed":"0.3.0-rc1"}]}],"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"],"fixed":["0.3.0-rc1"],"provider":"osv","source":"PYSEC-2026-3047","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-llama-stack-core-rhel9","rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-45691"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2025-45691","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-45691","license":"CC-BY-4.0","published_at":"2026-03-05T00:00:00Z","modified_at":"2026-07-15T01:26:17.573Z","summary":"An Arbitrary File Read vulnerability exists in the ImageTextPromptValue class in Exploding Gradients RAGAS v0.2.3 to v0.2.14.","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP:CVE-2025-45691"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"redhat-SADP:CVE-2025-45691"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://adithyanak.com/ragas-v0214-arbitrary-file-read-vulnerability"},{"type":"WEB","url":"https://github.com/explodinggradients/ragas/pull/1559"},{"type":"WEB","url":"https://github.com/explodinggradients/ragas/blob/e97886ac976465efb60e5949c5d69baf30cc811d/src/ragas/prompt/multi_modal_prompt.py#L202"},{"type":"WEB","url":"https://github.com/vibrantlabsai/ragas/pull/1991"}]},{"provider":"nvd","source_id":"CVE-2025-45691","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691","severity":[],"affected":[{"ecosystem":"NVD","package":"vibrantlabsai:ragas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.3"},{"last_affected":"0.2.14"}]}],"provider":"nvd","source":"CVE-2025-45691","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-v2xr-wvrv-p969","relation":"self","url":"https://osv.dev/vulnerability/GHSA-v2xr-wvrv-p969","license":"CC-BY-4.0","published_at":"2026-03-05T21:30:46Z","modified_at":"2026-07-13T16:43:18.85635Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GHSA-v2xr-wvrv-p969"},{"type":"CVSS_V4","score":"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","source":"GHSA-v2xr-wvrv-p969"}],"affected":[{"ecosystem":"PyPI","package":"ragas","purl":"pkg:pypi/ragas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.3"},{"fixed":"0.3.0-rc1"}]}],"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"],"fixed":["0.3.0-rc1"],"provider":"osv","source":"GHSA-v2xr-wvrv-p969","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691"},{"type":"WEB","url":"https://github.com/explodinggradients/ragas/pull/1559"},{"type":"WEB","url":"https://github.com/vibrantlabsai/ragas/pull/1991"},{"type":"WEB","url":"https://github.com/vibrantlabsai/ragas/commit/b28433709cbedbb531db79dadcfbdbd3aa6adcb0"},{"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":"PACKAGE","url":"https://github.com/vibrantlabsai/ragas"}]},{"provider":"osv","source_id":"PYSEC-2026-3047","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-3047","license":"CC-BY-4.0","published_at":"2026-07-13T14:36:40.930968Z","modified_at":"2026-07-13T16:32:43.986836Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"PYSEC-2026-3047"},{"type":"CVSS_V4","score":"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","source":"PYSEC-2026-3047"}],"affected":[{"ecosystem":"PyPI","package":"ragas","purl":"pkg:pypi/ragas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.3"},{"fixed":"0.3.0-rc1"}]}],"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"],"fixed":["0.3.0-rc1"],"provider":"osv","source":"PYSEC-2026-3047","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691"},{"type":"WEB","url":"https://github.com/explodinggradients/ragas/pull/1559"},{"type":"WEB","url":"https://github.com/vibrantlabsai/ragas/pull/1991"},{"type":"WEB","url":"https://github.com/vibrantlabsai/ragas/commit/b28433709cbedbb531db79dadcfbdbd3aa6adcb0"},{"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":"PACKAGE","url":"https://github.com/vibrantlabsai/ragas"},{"type":"PACKAGE","url":"https://pypi.org/project/ragas"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v2xr-wvrv-p969"}]},{"provider":"redhat-vex","source_id":"CVE-2025-45691","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-45691","license":"CC-BY-4.0","published_at":"2026-03-05T00:00:00Z","modified_at":"2026-03-12T16:56:38Z","summary":"ragas: arbitrary file read via improper URL validation in multimodal inputs","details":"A flaw was found in Ragas. Improper validation of URLs supplied in the retrieved_contexts parameter when handling multimodal inputs leads to Server-Side Request Forgery (SSRF). This vulnerability allows attackers to perform arbitrary file reads, conduct internal port scans and access cloud metadata.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2025-45691"},{"type":"Red Hat","score":"Important","source":"CVE-2025-45691"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-llama-stack-core-rhel9","rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-45691"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-45691.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-45691"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2444875"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-45691"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691"},{"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://github.com/explodinggradients/ragas/pull/1559"},{"type":"WEB","url":"https://github.com/vibrantlabsai/ragas/pull/1991"}]}],"references":[{"type":"WEB","url":"https://adithyanak.com/ragas-v0214-arbitrary-file-read-vulnerability"},{"type":"WEB","url":"https://github.com/explodinggradients/ragas/pull/1559"},{"type":"WEB","url":"https://github.com/explodinggradients/ragas/blob/e97886ac976465efb60e5949c5d69baf30cc811d/src/ragas/prompt/multi_modal_prompt.py#L202"},{"type":"WEB","url":"https://github.com/vibrantlabsai/ragas/pull/1991"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691"},{"type":"WEB","url":"https://github.com/vibrantlabsai/ragas/commit/b28433709cbedbb531db79dadcfbdbd3aa6adcb0"},{"type":"PACKAGE","url":"https://github.com/vibrantlabsai/ragas"},{"type":"PACKAGE","url":"https://pypi.org/project/ragas"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v2xr-wvrv-p969"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-45691.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-45691"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2444875"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-45691"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2025-45691","url":"https://www.cve.org/CVERecord?id=CVE-2025-45691","license":"CC-BY-4.0","modified_at":"2026-07-15T01:26:17.573Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2025-45691","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691","relation":"self"},{"provider":"osv","source_id":"GHSA-v2xr-wvrv-p969","url":"https://osv.dev/vulnerability/GHSA-v2xr-wvrv-p969","license":"CC-BY-4.0","modified_at":"2026-07-13T16:43:18.85635Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-3047","url":"https://osv.dev/vulnerability/PYSEC-2026-3047","license":"CC-BY-4.0","modified_at":"2026-07-13T16:32:43.986836Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-45691","url":"https://access.redhat.com/security/cve/CVE-2025-45691","license":"CC-BY-4.0","modified_at":"2026-03-12T16:56:38Z","relation":"self"}]}
