CVE-2026-49951 RAGFlow < 0.27.0 SSRF via set_api_key base_url Parameter
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- MySQL
Description
RAGFlow before 0.27.0 contains a server-side request forgery vulnerability that allows authenticated attackers to force the server to issue requests to arbitrary internal or external endpoints by supplying an unvalidated base_url to the POST /v1/llm/set_api_key endpoint handled by set_api_key() in api/apps/llm_app.py. Attackers can exploit this flaw to probe shared-network services such as MySQL, Elasticsearch, Redis, MinIO, the Infinity vector database, and cloud metadata endpoints, with raw upstream exception text returned in the response leaking internal service details, open ports, and configuration fingerprints.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| infiniflow ragflow | < 0.27.0 | 0.27.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| infiniflow ragflow | < 0.27.0 | 0.27.0 |
References
- Release Notes release-notes
- Pull Request issue-tracking patch
- Patch Commit patch
- VulnCheck Advisory: RAGFlow < 0.27.0 SSRF via set_api_key base_url Parameter third-party-advisory
- ENISA EUVD EUVD-2026-118333 third-party-advisory