CVE-2026-6587 vibrantlabsai RAGAS Collections util.py _try_process_url server-side request forgery
Remote attackers can exploit a server-side request forgery flaw in the RAGAS library's collections module to access internal resources.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-6587?
CVE-2026-6587 is a medium-severity server-side request forgery vulnerability in vibrantlabsai RAGAS, published on 20 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-918
Which versions are affected by CVE-2026-6587?
3 open source packages ship an affected version, including ragas.
| Package | Affected | Fixed in |
|---|---|---|
ragas PyPI | From 0.2.3 to 0.4.3 | None |
ragas PyPI | From 0.2.3 to 0.4.3 | None |
ragas PyPI | From 0.2.3 to 0.4.3 | None |
How do I fix CVE-2026-6587?
No fix has been published for CVE-2026-6587 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-6587 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-6587 exists.
Sources
Also known as GHSA-95ww-475f-pr4f, PYSEC-2026-3046.