CVE-2025-45691
HIGH 7.5CVSS 3.1RAGAS has an Arbitrary File Read vulnerability
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
- 5 Mar 2026
- Last modified
- 15 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22CWE-770CWE-918
- Also known as
- GHSA-v2xr-wvrv-p969PYSEC-2026-3047
- Sources
- NVDJSONOSV GHSA-v2xr-wvrv-p969JSONOSV PYSEC-2026-3047JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vibrantlabsai | ragascpe:2.3:a:vibrantlabsai:ragas:*:*:*:*:*:*:*:* |
>= 0.2.3, <= 0.2.14 | |
| OSV | PyPI | ragas | >= 0.2.3, < 0.3.0-rc1 | 0.3.0-rc1 |
References
- https://adithyanak.com/ragas-v0214-arbitrary-file-read-vulnerability · Exploit, Third Party Advisory, WEB
- https://github.com/explodinggradients/ragas/blob/e97886ac976465efb60e5949c5d69baf30cc811d/src/ragas/prompt/multi_modal_prompt.py#L202 · Product, 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://access.redhat.com/security/cve/CVE-2025-45691
- https://bugzilla.redhat.com/show_bug.cgi?id=2444875
- 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
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 5 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Mar 2026)