7.5high
RAGAS has an Arbitrary File Read vulnerability
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.60% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-v2xr-wvrv-p969PYSEC-2026-3047
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| rhoai/odh-llama-stack-core-rhel9 | Not specified | CVE List |
| rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9 | Not specified | CVE List |
| ragas (PyPI) | from 0.2.3 before 0.3.0-rc1 | GitHub Advisory Database, PyPA Advisory Database |
| vibrantlabsai ragas | from 0.2.3 up to 0.2.14 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| redhat-SADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | high 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 |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| PyPA Advisory Database | Not scored 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 |
Classification
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de lectura arbitraria de archivos existe en la clase ImageTextPromptValue en Exploding Gradients RAGAS v0.2.3 a v0.2.14. La vulnerabilidad se origina en la validación y saneamiento inadecuados de las URL proporcionadas en el parámetro retrieved_contexts al manejar entradas multimodales.
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/explodinggradients/ragas/blob/e97886ac976465efb60e5949c5d69baf30cc811d/src/ragas/prompt/multi_modal_prompt.py#L202 | product, web | |
| https://github.com/vibrantlabsai/ragas/pull/1991 | exploit, issue-tracking, patch, vendor-advisory, 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-45691 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v2xr-wvrv-p969 changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2025-45691 changed 2026-07-15 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3047 changed 2026-07-13 | CC-BY-4.0 |