Advisory

PYSEC-2026-3047

Also known as: CVE-2025-45691, GHSA-v2xr-wvrv-p969

Summary

RAGAS has an Arbitrary File Read vulnerability

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-07-13 14:36 UTC
Modified
2026-07-13 16:32 UTC

Affected packages and fixes

ragas

PyPI · All systems

Affected

  • introduced 0.2.3, fixed 0.3.0-rc1 (ecosystem)

Fixed versions

0.3.0-rc1

Fix

  • Fixed version 0.3.0-rc1
    pip install --upgrade ragas==0.3.0-rc1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences