Skip to main content
← Vulnerabilities

RAGFlow < 0.27.0 SSRF via set_api_key base_url Parameter

5.3MediumCNA
Exploited
No known exploitation
Fix
Fixed in 0.27.0
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 0.27.0.

Published
Last modified
8/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

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.

cve.now Index

8Pcve.now Index 8 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure3/25Reachable over the network · Unknown: No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity5.3/10CVSS 5.3
  • No patch0/5No signal

What would change the score

  • Would score about 63 if added to CISA KEV
  • Would score about 58 if CISA's SSVC rates exploitation active
  • Would score about 27 if advisories confirm default setups are exposed

What to do

  • Upgrade to a fixed version: 0.27.0.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • infiniflow ragflow

    fixed in 0.27.0

Evidence 4

  1. Patch
  2. Patch
  3. Repository
  4. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-49951

Is CVE-2026-49951 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-49951?

ragflow: before 0.27.0.Source: cve.now feed data

How do I fix CVE-2026-49951?

Upgrade to a fixed version: 0.27.0.Source: cve.now feed data