GitHub Advisoryadvisory · PyPI

GHSA-v2xr-wvrv-p969 RAGAS has an Arbitrary File Read vulnerability

HIGH Published 2026-03-05 Modified 2026-04-08 Official page ↗
Aliases
CVE-2025-45691
Ecosystem
PyPI
Packages
ragas
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22, CWE-770, CWE-918
Reviewed
2026-03-06

Affected packages

• PyPI ragas: >= 0.2.3, < 0.3.0-rc1 → fixed in 0.3.0-rc1

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.

Related

Alias · CVE (1)

  • CVE-2025-45691 An Arbitrary File Read vulnerability exists in the ImageTextPromptValue class in Exploding Gradients RAGAS v0.2.3 to v0.2.14. vulnerability

Weakness · CWE (3)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness
  • CWE-918 Server-Side Request Forgery weakness

References