SSRF in Infiniflow Ragflow
CVE-2026-49951
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.003 (16.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 17th percentile — 16.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
The 30-day trend appears once there are two daily scores.
Affected products
Weakness classification (CWE)
References
- github.com/infiniflow/ragflow/commit/b058229ab3a79cc2d61bc1724c2e120ce2ede46d (patch)
- github.com/infiniflow/ragflow/pull/17641 (issue-tracking, patch)
- github.com/infiniflow/ragflow/releases (release-notes)
- www.vulncheck.com/advisories/ragflow-ssrf-via-set-api-key-base-url-parameter (third-party-advisory)
Frequently asked questions
- What is CVE-2026-49951?
- CVE-2026-49951 is a medium-severity vulnerability in Infiniflow Ragflow, classified under Server-Side Request Forgery (SSRF). CVSS score: 6.3/10. Published 2026-11-06.
- How severe is CVE-2026-49951?
- Medium severity. CVSS v3 base score is 6.3 out of 10.