MediumVulnerability
CVE-2026-49951: RAGFlow server-side request forgery through set_api_key base_url
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-49951
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
CVE-2026-49951 affects RAGFlow before 0.27.0. An authenticated attacker can supply an unvalidated base_url to POST /v1/llm/set_api_key, handled by set_api_key() in api/apps/llm_app.py, and force the server to issue requests to arbitrary internal or external endpoints. Raw upstream exception text is returned in the response, leaking internal service details, open ports and configuration fingerprints, including for MySQL, Elasticsearch, Redis, MinIO, the Infinity vector database and cloud metadata endpoints.
Mitigation
Fixed in 0.27.0. Upgrade RAGFlow to version 0.27.0 or later.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online