{"id":"CVE-2025-45691","aliases":["EUVD-2025-208315","GHSA-v2xr-wvrv-p969","PYSEC-2026-3047"],"status":"published","title":"RAGAS has an Arbitrary File Read vulnerability","description":"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":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-12","score":0.00606,"percentile":0.49505,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22","CWE-770","CWE-918"],"published":"2026-03-05T00:00:00Z","modified":"2026-10-28T02:30:56Z","fixes":[{"ecosystem":"PyPI","package":"ragas","fixed_in":["0.3.0-rc1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"ragas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.3"},{"fixed":"0.3.0-rc1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"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"]}],"products":[{"vendor":"red hat","product":"red hat openshift ai (rhoai)"},{"vendor":"vibrantlabsai","product":"ragas"}],"references":[{"url":"https://adithyanak.com/ragas-v0214-arbitrary-file-read-vulnerability","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://github.com/explodinggradients/ragas/pull/1559","tags":["Exploit","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/explodinggradients/ragas/blob/e97886ac976465efb60e5949c5d69baf30cc811d/src/ragas/prompt/multi_modal_prompt.py#L202","tags":["Product","web"]},{"url":"https://github.com/vibrantlabsai/ragas/pull/1991","tags":["Exploit","Issue Tracking","Patch","Vendor Advisory","fix","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-45691","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2444875","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-45691.json","tags":["x_sadp-csaf-vex","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691","tags":["advisory"]},{"url":"https://github.com/vibrantlabsai/ragas/commit/b28433709cbedbb531db79dadcfbdbd3aa6adcb0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-v2xr-wvrv-p969","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/45xxx/CVE-2025-45691.json","tags":["advisory"]},{"url":"https://github.com/vibrantlabsai/ragas","tags":["package"]},{"url":"https://pypi.org/project/ragas","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-45691","description":"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.","status":"published","published":"2026-03-05T00:00:00Z","modified":"2026-07-15T01:26:17.573Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"adp"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"adp"}],"cwes":["CWE-22","CWE-918"],"updated_at":"2026-11-02T14:32:36.385228Z"}],"euvd":[{"id":"EUVD-2025-208315","description":"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.","status":"published","published":"2026-03-05T00:00:00Z","modified":"2026-07-15T01:26:17Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T18:19:54.255702Z"}],"ghsa":[{"id":"GHSA-v2xr-wvrv-p969","title":"RAGAS has an Arbitrary File Read vulnerability","description":"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.","status":"published","published":"2026-03-05T21:30:46Z","modified":"2026-04-08T22:21:51Z","cvss":[{"version":"4.0","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","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22","CWE-770","CWE-918"],"updated_at":"2026-11-02T14:39:51.193071Z"}],"nvd":[{"id":"CVE-2025-45691","description":"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.","status":"published","published":"2026-03-05T19:16:00.027Z","modified":"2026-07-15T02:17:26.457Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-22","CWE-918"],"updated_at":"2026-11-02T14:12:01.096037Z"}],"osv":[{"id":"CVE-2025-45691","description":"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.","status":"published","published":"2026-03-05T00:00:00Z","modified":"2026-10-28T02:30:56.014659433Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:49.707645Z"},{"id":"GHSA-v2xr-wvrv-p969","title":"RAGAS has an Arbitrary File Read vulnerability","description":"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.","status":"published","published":"2026-03-05T21:30:46Z","modified":"2026-07-13T16:43:18.856350538Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"4.0","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","level":"high"}],"cwes":["CWE-22","CWE-770","CWE-918"],"updated_at":"2026-11-02T15:46:56.639206Z"},{"id":"PYSEC-2026-3047","title":"RAGAS has an Arbitrary File Read vulnerability","description":"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.","status":"published","published":"2026-07-13T14:36:40.930968Z","modified":"2026-07-13T16:32:43.986836919Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"4.0","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","level":"high"}],"updated_at":"2026-11-02T15:52:56.429374Z"}]}}
