{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-45691","id":"CVE-2025-45691","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.","descriptionLong":"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:00.000Z","updated":"2026-10-28T02:30:56.014659433Z","reserved":"2025-04-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"4.0","score":null,"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","source":"OSV"},{"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","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"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","rating":"high","source":"CISA-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","rating":"high","source":"redhat-SADP"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ragas","purl":"pkg:pypi/ragas","ranges":[">=0.2.3 <0.3.0-rc1"],"fixed":["0.3.0-rc1"],"advisory":"GHSA-v2xr-wvrv-p969"}],"cwes":["CWE-22","CWE-918","CWE-770"],"aliases":["GHSA-v2xr-wvrv-p969","PYSEC-2026-3047"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2025/45xxx/CVE-2025-45691.json","tags":["advisory"]},{"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/vibrantlabsai/ragas","tags":["package"]},{"url":"https://pypi.org/project/ragas","tags":["package"]},{"url":"https://github.com/advisories/GHSA-v2xr-wvrv-p969","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00606,"epssPercentile":0.49811,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-45691","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45691","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-45691","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v2xr-wvrv-p969","ok":true,"note":"GHSA-v2xr-wvrv-p969"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-45691","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}