# CVE-2025-45691: RAGAS has an Arbitrary File Read vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-03-05T00:00:00.000Z
- Modified: 2026-07-15T02:17:26.457Z
- Also known as: GHSA-v2xr-wvrv-p969, PYSEC-2026-3047
- Weaknesses: CWE-22, CWE-770, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rhoai/odh-llama-stack-core-rhel9: no versions given
- rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9: no versions given
- ragas (PyPI): from 0.2.3 before 0.3.0-rc1
- vibrantlabsai ragas: from 0.2.3 up to 0.2.14

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://adithyanak.com/ragas-v0214-arbitrary-file-read-vulnerability> (exploit, third-party-advisory, web)
- <https://github.com/explodinggradients/ragas/pull/1559> (exploit, issue-tracking, patch, web)
- <https://github.com/vibrantlabsai/ragas/pull/1991> (exploit, issue-tracking, patch, vendor-advisory, web)
- <https://github.com/explodinggradients/ragas/blob/e97886ac976465efb60e5949c5d69baf30cc811d/src/ragas/prompt/multi_modal_prompt.py#L202> (product, web)
- <https://access.redhat.com/security/cve/CVE-2025-45691> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2444875> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-45691.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-45691> (advisory)
- <https://github.com/vibrantlabsai/ragas/commit/b28433709cbedbb531db79dadcfbdbd3aa6adcb0> (web)
- <https://github.com/vibrantlabsai/ragas> (package)
- <https://pypi.org/project/ragas> (package)
- <https://github.com/advisories/GHSA-v2xr-wvrv-p969> (advisory)

## Sources

- CVE List: [CVE-2025-45691](https://www.cve.org/CVERecord?id=CVE-2025-45691), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-v2xr-wvrv-p969](https://github.com/advisories/GHSA-v2xr-wvrv-p969), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2025-45691](https://nvd.nist.gov/vuln/detail/CVE-2025-45691), Public domain, modified 2026-07-15
- PyPA Advisory Database: [PYSEC-2026-3047](https://osv.dev/vulnerability/PYSEC-2026-3047), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2025-45691 · Whole record: https://cve.day/CVE-2025-45691.json · Rebuilt by cve.day 2026-11-25T22:59:11.851Z
