CVE-2025-45691 json
RAGAS has an Arbitrary File Read vulnerability
published 2026-03-05 8 mo ago modified 2026-07-15 3 mo ago also GHSA-v2xr-wvrv-p969 , PYSEC-2026-3047 , EUVD-2025-208315
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi ragas 0.3.0-rc1
- github.com/vibrantlabsai/ragas@b284337 commit
- github.com/explodinggradients/ragas#1559 pull request
- github.com/vibrantlabsai/ragas#1991 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-45691 updated cvss 7.5
ragas: arbitrary file read via improper URL validation in multimodal inputs
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-llama-stack-core-rhel9, rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/explodinggradients/ragas/pull/1559 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/vibrantlabsai/ragas/pull/1991 referenced PoC, tagged "exploit" by a source, unverified
- adithyanak.com https://adithyanak.com/ragas-v0214-arbitrary-file-read-vulnerability referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ragas | >=0.2.3, <0.3.0-rc1 |
0.3.0-rc1 |
Affected products
- Red Hat Red Hat OpenShift AI (RHOAI)
Classification
References
-
github.com
/explodinggradients/ragas/pull/1559
web, exploit, issue-tracking, patch
-
github.com
/vibrantlabsai/ragas/pull/1991
web, exploit, issue-tracking, patch, vendor-advisory
-
github.com
/vibrantlabsai/ragas/commit/b28433709cbedbb531db79dadcfbdbd3aa6adcb0
web
-
adithyanak.com
/ragas-v0214-arbitrary-file-read-vulnerability
web, exploit, third-party-advisory
-
github.com
/explodinggradients/ragas/blob/e97886ac976465efb60e5949c5d69baf30cc811d/src/ragas/prompt/multi_modal_prompt.py
web, product
-
access.redhat.com
/security/cve/CVE-2025-45691
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2444875
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2025/cve-2025-45691.json
-
nvd.nist.gov
/vuln/detail/CVE-2025-45691
advisory
-
github.com
/vibrantlabsai/ragas
package
-
pypi.org
/project/ragas
package
-
github.com
/advisories/GHSA-v2xr-wvrv-p969
advisory
Sources
- CVE List CVE-2025-45691
- GitHub Advisory GHSA-v2xr-wvrv-p969
- NVD CVE-2025-45691
- OSV PYSEC-2026-3047
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.