CVE-2024-12433
Remote Code Execution in infiniflow/ragflow
Description
A vulnerability in infiniflow/ragflow versions v0.12.0 allows for remote code execution. The RPC server in RagFlow uses a hard-coded AuthKey 'authkey=b'infiniflow-token4kevinhu'' which can be easily fetched by attackers to join the group communication without restrictions. Additionally, the server processes incoming data using pickle deserialization via `pickle.loads()` on `connection.recv()`, making it vulnerable to remote code execution. This issue is fixed in version 0.14.0.
INFO
Published Date :
March 20, 2025, 10:15 a.m.
Last Modified :
July 14, 2025, 5:53 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.0 | CRITICAL | [email protected] |
Solution
- Update to RagFlow version 0.14.0.
- Remove hard-coded authentication keys.
- Avoid pickle deserialization on untrusted data.
Public PoC/Exploit Available at Github
CVE-2024-12433 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-12433.
| URL | Resource |
|---|---|
| https://github.com/infiniflow/ragflow/commit/49494d4e3c8f06a5e52cf1f7cce9fa03cadcfbf6 | Patch |
| https://huntr.com/bounties/8a1465af-09e4-42af-9e54-0b70e7c87499 | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-12433 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-12433
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
CatchClaw v5.3.0 — 多平台 AI Agent 安全评估工具,支持 OpenClaw / Dify / FastGPT / LobeChat / NextChat / AnythingLLM / Flowise / RagFlow 等 9 大平台。78 条 DAG 攻击链 | 78 个 Exploit 模块 | ATT&CK 阶段映射 | 多平台指纹识别 | Async Tokio 引擎 | 攻击图可视化
ai-security automation exploit nuclei-templates openclaw penetration-testing penetration-testing-tools rce reconnaissance red-team red-team-tools security security-tools ssrf vulnerability-scanner websocket dify lobechat multi-platform rust
Rust Python Makefile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-12433 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-12433 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 14, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:* versions from (including) 0.12.0 up to (excluding) 0.14.0 Added Reference Type huntr.dev: https://github.com/infiniflow/ragflow/commit/49494d4e3c8f06a5e52cf1f7cce9fa03cadcfbf6 Types: Patch Added Reference Type huntr.dev: https://huntr.com/bounties/8a1465af-09e4-42af-9e54-0b70e7c87499 Types: Exploit, Third Party Advisory -
New CVE Received by [email protected]
Mar. 20, 2025
Action Type Old Value New Value Added Description A vulnerability in infiniflow/ragflow versions v0.12.0 allows for remote code execution. The RPC server in RagFlow uses a hard-coded AuthKey 'authkey=b'infiniflow-token4kevinhu'' which can be easily fetched by attackers to join the group communication without restrictions. Additionally, the server processes incoming data using pickle deserialization via `pickle.loads()` on `connection.recv()`, making it vulnerable to remote code execution. This issue is fixed in version 0.14.0. Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-502 Added Reference https://github.com/infiniflow/ragflow/commit/49494d4e3c8f06a5e52cf1f7cce9fa03cadcfbf6 Added Reference https://huntr.com/bounties/8a1465af-09e4-42af-9e54-0b70e7c87499