CVE-2026-49951
published medium CVSS 4.0 · 5.3RAGFlow < 0.27.0 SSRF via set_api_key base_url Parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| infiniflow | — | ragflow0 to < 0.27.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| infiniflow | ragflow | 0 to < 0.27.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-918 Server-Side Request Forgery (SSRF)
References
4- Patch Commit https://github.com/infiniflow/ragflow/commit/b058229ab3a79cc2d61bc1724c2e120ce2ede46d
- Pull Request https://github.com/infiniflow/ragflow/pull/17641
- Release Notes https://github.com/infiniflow/ragflow/releases#release-v0.27.0
- VulnCheck Advisory: RAGFlow < 0.27.0 SSRF via set_api_key base_url Parameter https://www.vulncheck.com/advisories/ragflow-ssrf-via-set-api-key-base-url-parameter
Provider assertions
2VulnCheck · cna
RAGFlow < 0.27.0 SSRF via set_api_key base_url Parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a6e2540a412ebff629b319a6c5fd244385beb74dc20411c4ce9cad204f3e06cc
- Ingested
- 09 Nov 2026, 22:53:00 UTC
- Source record
- Official CVE record