ADVISORIES

PyPA Advisory Database

PYSEC-2026-3047

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.

Affected packages

EcosystemPackageAffected versions
PyPIragas
From 0.2.3 before 0.3.0-rc1 (fixed in 0.3.0-rc1)

References