GPU VulnDB

Database/AI/ML frameworks & serving

RAGFlow: unvalidated base_url in set_api_key lets authenticated users make server-side requests

CVSS 5.3CVE-2026-49951AI/ML frameworks & servingcurated

Impact

Any RAGFlow user who is logged in can give the set_api_key endpoint an arbitrary base_url, and the RAGFlow server will send requests to it. The server's raw exception text comes back in the response, so the attacker can map the services sitting next to RAGFlow: MySQL, Elasticsearch, Redis, MinIO, the Infinity vector database and cloud metadata endpoints. On a GPU node or cluster where RAGFlow shares a network with object storage and the metadata service, this gives a low-privilege user a way to scan internal services and learn their open ports and configuration. The record does not say this leads to data reads or code execution on its own.

Who can reach it

Any authenticated RAGFlow user who can reach the API over the network. Authentication is required, but only at a low privilege level.

What to do

Upgrade RAGFlow to 0.27.0 or later and restart the RAGFlow API service. Until then, block RAGFlow's outbound access to internal service ports and the cloud metadata endpoint at the network layer.

References

Related entries

All AI/ML frameworks & serving entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.