RAGFlow < 0.27.0 SSRF via set_api_key base_url Parameter
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 6, 2026
- Updated
- Nov 9, 2026
- Reserved
- Jun 2, 2026
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.
| Product | Versions |
|---|---|
| ragflow infiniflow | before 0.27.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 6.3 Medium | VulnCheck |
Weaknesses
- CWE-918 Server-Side Request Forgery (SSRF)
References
- Release NotesRelease Notes
- Pull RequestIssue TrackerPatch
- Patch CommitPatch
- VulnCheck Advisory: RAGFlow < 0.27.0 SSRF via set_api_key base_url ParameterThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.