Server-side Request Forgery (SSRF) Affecting ragas package, versions [0.2.3,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-RAGAS-16134617
  • published23 Apr 2026
  • disclosed20 Apr 2026
  • creditEric-y

Introduced: 20 Apr 2026

NewCVE-2026-6587  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

There is no fixed version for ragas.

Overview

ragas is an Evaluation framework for RAG and LLM applications

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via improper validation of URLs in the retrieved_contexts parameter when processing multimodal inputs. An attacker can access arbitrary files, perform internal port scans, and retrieve sensitive cloud metadata by supplying crafted URLs to the evaluation pipeline.

Note:

This is caused by an incomplete fix for CVE-2025-45691.

CVSS Base Scores

version 4.0
version 3.1