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.
https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-45691.json
https://github.com/vibrantlabsai/ragas/pull/1991
https://github.com/explodinggradients/ragas/pull/1559
https://bugzilla.redhat.com/show_bug.cgi?id=2444875
https://adithyanak.com/ragas-v0214-arbitrary-file-read-vulnerability
Published: 2026-03-05
Updated: 2026-06-30
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N
Severity: High
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Severity: High
Base Score: 8.7
Vector: 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
Severity: High
EPSS: 0.00053