CVE-2025-45691
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
rhoai/odh-llama-stack-core-rhel9Not specifiedCVE List
rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9Not specifiedCVE List
ragas (PyPI)from 0.2.3 before 0.3.0-rc1GitHub Advisory Database, PyPA Advisory Database
vibrantlabsai ragasfrom 0.2.3 up to 0.2.14NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHubhigh CVSS:4.0CVSS: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 Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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

CWE-22CWE-770CWE-918

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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-vulnerabilityexploit, third-party-advisory, web
https://github.com/explodinggradients/ragas/pull/1559exploit, issue-tracking, patch, web
https://github.com/explodinggradients/ragas/blob/e97886ac976465efb60e5949c5d69baf30cc811d/src/ragas/prompt/multi_modal_prompt.py#L202product, web
https://github.com/vibrantlabsai/ragas/pull/1991exploit, issue-tracking, patch, vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2025-45691vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2444875issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-45691.json
https://nvd.nist.gov/vuln/detail/CVE-2025-45691advisory
https://github.com/vibrantlabsai/ragas/commit/b28433709cbedbb531db79dadcfbdbd3aa6adcb0web
https://github.com/vibrantlabsai/ragaspackage
https://pypi.org/project/ragaspackage
https://github.com/advisories/GHSA-v2xr-wvrv-p969advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-45691 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-v2xr-wvrv-p969 changed 2026-07-13CC-BY-4.0
NVDCVE-2025-45691 changed 2026-07-15Public domain
PyPA Advisory DatabasePYSEC-2026-3047 changed 2026-07-13CC-BY-4.0