Skip to main content

Ragas CVE-2026-6587

| EUVDEUVD-2026-23727 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-20 VulDB GHSA-95ww-475f-pr4f
Low
Disputed · 2.1 Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain or create low-privileged user credentials
  2. Delivery
    Authenticate to RAGAS application
  3. Exploit
    Craft request with malicious retrieved_contexts parameter
  4. Install
    Invoke Collections Module multi_modal_faithfulness metrics
  5. C2
    Application processes crafted URL/file path
  6. Execute
    Fetch arbitrary resource via SSRF
  7. Impact
    Attacker reads/exfiltrates sensitive data or scans internal network

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires authentication to the application as a low-privileged user (PR:L per CVSS vector), meaning an attacker must either possess valid credentials or have the ability to submit requests as an authenticated user. The vulnerability is triggered when the retrieved_contexts parameter is processed by the Collections Module's multi_modal_faithfulness metrics functions, specifically the _try_process_local_file or _try_process_url functions. No special server configuration is required-the vulnerability exists in the default code path. Exploitation is limited by the authentication boundary: unauthenticated remote attackers cannot directly invoke the vulnerable functions without credentials. However, in multi-tenant SaaS deployments or applications exposing RAGAS metrics evaluation as a user-facing feature without rate limiting, this becomes a practical attack vector. The scope does not escape the affected application (S:U), so the attacker cannot directly compromise other systems, but they can use SSRF to reach backend services or exfiltrate data available to the application process.

Impact

The CVSS score of 6.3 (Medium) reflects the real-world risk profile accurately given the authentication requirement (PR:L). The vector shows network-accessible exploitation with low complexity, indicating no special attack techniques are required beyond crafting a malicious retrieved_contexts value. The EPSS signal of 'E:P' (Proof of Concept Available) combined with publicly released exploit code substantially elevates real-world risk despite the Medium CVSS base score-this is a case where active exploitation capability matters more than raw CVSS indicates. The vendor's non-response to early disclosure is a negative signal for timely patching. However, the authentication requirement (PR:L - low-privileged user required) limits attack scope to scenarios where an attacker already has application access or can manipulate inputs as an authenticated user. The scope remains Unchanged (S:U), meaning the attacker cannot break out to impact other systems, though they can exfiltrate data or perform SSRF attacks on the host network. Overall risk is elevated from Medium to High-Medium for organizations running RAGAS in production with untrusted user inputs or multi-tenant deployments where privilege escalation is a concern.

Exploit ScenarioDerived

An authenticated user of a RAGAS-powered system crafts a request with a malicious retrieved_contexts parameter containing a URL like 'http://internal-database:5432' or 'file:///etc/passwd'. The application's _try_process_url function processes this input without validation and makes a network request to the attacker-specified target, allowing the attacker to read local files, scan internal networks, or reach services that are not directly accessible from the internet. Publicly available exploit code demonstrates this attack against RAGAS v0.2.14 and likely applies to later versions including 0.4.3.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 20, 2026

Server-side request forgery in vibrantlabsai RAGAS up to version 0.4.3 allows authenticated remote attackers to manipulate the retrieved_contexts argument in the Collections Module's _try_process_local_file and _try_process_url functions, enabling arbitrary file reads and network requests with the application's privileges. Publicly available exploit code exists; the vendor has not responded to early disclosure attempts despite the security patch for related CVE-2025-45691 being applied to a different module only.

RemediationAI

Upgrade vibrantlabsai RAGAS to a version beyond 0.4.3 once a patched release becomes available. However, no patched version has been publicly announced by the vendor to date. As an immediate compensating control, restrict the retrieved_contexts parameter to whitelisted domains and file paths only-implement a strict validation function that rejects any retrieved_contexts entries containing unexpected schemes (reject file://, gopher://, etc.) or IP addresses outside your internal network whitelist. Additionally, disable or restrict access to the Collections Module's multi_modal_faithfulness metrics functionality if it is not actively used in your deployment, reducing the attack surface. Deploy the application behind an authentication gateway requiring strong credentials and consider implementing network segmentation to prevent SSRF attacks from reaching sensitive internal services (databases, metadata endpoints, cloud IAM services on 169.254.169.254). Monitor outbound connections from the RAGAS process for unexpected requests to internal IPs or external hosts. Given the vendor's non-responsiveness, consider forking the library or applying a source patch that validates and sanitizes the retrieved_contexts argument before passing it to file-fetch operations.

Affected VersionsENISA

RAGAS 0.4.2
RAGAS 0.4.3
RAGAS 0.4.0
RAGAS 0.4.1

Affected Packages

pypi ragas no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RAGAS (Retrieval-Augmented Generation Assessment) is a library for evaluating retrieval-augmented generation systems. The vulnerability resides in the Collections Module at src/ragas/metrics/collections/multi_modal_faithfulness/util.py, specifically in functions _try_process_local_file and _try_process_url. These functions process file paths and URLs from the retrieved_contexts parameter without adequate input validation or URL scheme filtering, allowing an attacker to direct the application to fetch arbitrary remote resources or access local files via file:// URIs. This is a classic Server-Side Request Forgery (CWE-918) vulnerability where user-controlled input is passed to a fetch/request function without sanitization. The vulnerability affects all versions of vibrantlabsai:ragas from 0.1.x through 0.4.3 based on CPE data.

Know when Ragas gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Low–High)
Vendor (VulDB) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Red Hat 8.1 HIGH

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Severity Changed
Apr 29, 2026 - 01:12 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:12 NVD
5.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
CVSS changed
Apr 20, 2026 - 00:22 NVD
6.3 (MEDIUM) 5.3 (MEDIUM)
CVE Published
Apr 20, 2026 - 00:00 nvd
LOW 2.1

DescriptionCVE.org

A security flaw has been discovered in vibrantlabsai RAGAS up to 0.4.3. The affected element is the function _try_process_local_file/_try_process_url of the file src/ragas/metrics/collections/multi_modal_faithfulness/util.py of the component Collections Module. Performing a manipulation of the argument retrieved_contexts results in server-side request forgery. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks. The security patch for CVE-2025-45691 was applied to a different module only. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy