CVE-2026-49951

published 6 Nov 2026 · updated 9 Nov 2026

RAGFlow < 0.27.0 SSRF via set_api_key base_url Parameter

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.27.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
InfiniFlow<0.27.00.27.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-49951 severity on Zeptric[![CVE-2026-49951](https://zeptric.io/badge/cve/CVE-2026-49951.svg)](https://zeptric.io/cve/CVE-2026-49951)