Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain or create low-privileged user credentials
-
DeliveryAuthenticate to RAGAS application
-
ExploitCraft request with malicious retrieved_contexts parameter
-
InstallInvoke Collections Module multi_modal_faithfulness metrics
-
C2Application processes crafted URL/file path
-
ExecuteFetch arbitrary resource via SSRF
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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)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
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
Lifecycle Timeline
5DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-23727
GHSA-95ww-475f-pr4f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB