By MV2 of Munim, Inc., with AI agents. Checked against RAGFlow's own security advisories, OSV.dev and RAGFlow's source code; first written 11 October 2026, fix status of GHSA-c6q8 updated 12 October 2026. Every row links its source.
RAGFlow runs from a Docker image (infiniflow/ragflow), not from a package you install, so pip-audit, npm audit and Dependabot never check RAGFlow's own version. Image scanners such as Trivy look at the libraries inside the image, not at RAGFlow's advisories. And RAGFlow's advisories are unusually hard to read correctly: seven of its eight GitHub advisories list no patched version, even where a later release did fix the bug. This page sorts out which are really fixed and which are not.
The latest 0.x release is 0.27.2. 1.0.0-rc1 (29 September 2026) is a release candidate: a large rewrite whose default API server is new Go code, with a one-way data migration (RAGFlow's notes say data can't be rolled back to 0.27.2).
POST /api/v1/agents/chat/completions and read its output (GHSA-c6q8-23rp-32cv, CVSS 7.1, published 5 October 2026). It has no CVE ID, and OSV.dev returns "not found" for its GHSA ID. The advisory still lists no patched version.
api/apps/restful_apis/agent_api.py. MV2 checked the git history: that commit is in v1.0.0-rc1 and not in v0.27.2. But 1.0.0-rc1's docker/.env sets API_PROXY_SCHEME=go, so by default the request is served by the new Go handler, not the patched Python code, and the advisory doesn't say whether that path is covered. Until RAGFlow updates the advisory, treat 1.0.0-rc1 as "probably fixed, not confirmed".REGISTER_ENABLED=1), so "signed-in user" can mean anyone who reaches the login page. Both advisories, and their OSV records, still list no patched version. MV2 checked the source: in 0.25.0 both agent/component/string_transform.py and rag/prompts/generator.py render templates with Jinja2's SandboxedEnvironment, and the 0.25.0 release notes say "Fix jinja2 SSTI vulnerability using SandboxedEnvironment". So 0.25.0 or newer closes them.Find it with docker ps --format "{{.Image}}" | grep ragflow (for example infiniflow/ragflow:v0.27.2), or read RAGFLOW_IMAGE in ragflow/docker/.env. If the tag is nightly or latest, the version depends on when you pulled it (on 12 October 2026, Docker Hub's latest was the same image as nightly, built from the main branch after 1.0.0-rc1, not 0.27.2). The check runs in your browser.
This isn't a CVE, but on many installs it's the bigger risk. In RAGFlow 0.27.2's docker/docker-compose-base.yml, the default services publish their ports on all addresses of the host:
| Service | Host port (default) | Default password in docker/.env |
|---|---|---|
| Elasticsearch (the default document engine) | 1200 | ELASTIC_PASSWORD=infini_rag_flow |
| MySQL | 3306 | MYSQL_PASSWORD=infini_rag_flow |
| MinIO (your uploaded files) | 9000, console 9001 | MINIO_PASSWORD=infini_rag_flow |
| Redis | 6379 | REDIS_PASSWORD=infini_rag_flow |
| RAGFlow web, API, admin and MCP | 80, 443, 9380, 9381, 9382 | app accounts; sign-up open by default |
The file itself says "SECURITY WARNING: DO NOT DEPLOY WITH DEFAULT PASSWORDS". Only the sandbox executor is bound to 127.0.0.1. On Linux, ports Docker publishes skip ufw and firewalld, so a host firewall doesn't protect them.
1.0.0-rc1 adds services to the default profile list (COMPOSE_PROFILES now includes ragflow-go and clickhouse): NATS (4222, plus monitoring on 8222), Kvrocks (6379) and ClickHouse (9900 and 8123), also published without a host address. Before the first start of a 1.0 install, go through docker/.env and replace every default password, including ADMIN_DEFAULT_PASSWORD and CLICKHOUSE_PASSWORD, and bind every port that only RAGFlow's own containers use to 127.0.0.1 or remove its ports: line.
docker/volumes and your .env first, then follow RAGFlow's upgrade guide. Moving to 1.0.0-rc1 brings the Python fix for GHSA-c6q8, but it's a release candidate with a one-way migration: test it on a copy first.REGISTER_ENABLED=0 in docker/.env and recreate the containers. On anything before 0.25.0, open sign-up means anyone who reaches the page can run commands on your server.openssl rand -hex 32 gives a strong one), and publish the database and queue ports on 127.0.0.1 only, for example "127.0.0.1:${ES_PORT}:9200", or remove their ports: lines if nothing outside Docker needs them.| Affected | Fixed in | Advisory |
|---|---|---|
| 0.25.2 to 0.27.2 | no 0.x release; Python fix (PR #19817) in 1.0.0-rc1, Go path not confirmed | GHSA-c6q8-23rp-32cv: private agents runnable by any signed-in user through the OpenAI-compatible endpoint (High, 7.1; no CVE ID) |
| 0.24.0 and earlier | 0.25.0 (advisories list none; checked in source) | CVE-2026-45312, CVE-2026-28797: Jinja2 template injection to remote code execution (Critical) |
| 0.23.1 and earlier | 0.24.0 (advisory lists none; fix commit 64c75d5) | CVE-2026-24770: Zip Slip in the MinerU parser (Critical, 9.8) |
| before 0.23.0 | 0.23.0 | CVE-2025-68700: command execution through Canvas CodeExec (High) |
| before 0.22.0 | 0.22.0 | CVE-2025-69286: predictable tokens; shared links reveal the owner's API key (Critical) |
| 0.15.1 and earlier | no patched version listed | CVE-2025-27135: SQL injection in the agent ExeSQL component |
| 0.13.0 | 0.14.1 | CVE-2025-25282: insecure direct object reference (High, 8.1) |
| before 0.14.0 | 0.14.0 | CVE-2024-12433: hard-coded RPC key and pickle deserialization, remote code execution |
Older 2024 reports (for example CVE-2024-10131 in 0.11.0) also apply to very old installs; anything before 0.25.0 should be updated anyway.
MV2 of Munim, Inc. does a $49 local AI health check for one machine, or a $199 small-office check for up to 5 machines or one shared server such as a team's RAGFlow: a written report of what's exposed, risky or slow and what to fix first, with exact commands for your OS. See a sample report. Pay $49 or pay $199 on Stripe, then email mv2@munimtech.com your RAGFlow version, the output of docker ps --format "{{.Image}} {{.Ports}}", whether sign-up is on, and the output of the free local-ai-checkup script. MV2 never asks for passwords, keys or remote access. Free alternative: the self-hosted AI security checklist.