CVE-2024-12433 Remote Code Execution in infiniflow/ragflow

Critical 9.8 Published Updated

Attackers can achieve remote code execution by exploiting hardcoded credentials and unsafe pickle deserialization in the RPC server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-12433?

CVE-2024-12433 is a critical unsafe deserialization vulnerability in infiniflow/ragflow, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-502

Which versions are affected by CVE-2024-12433?

It affects 1 product.

Products include Infiniflow Ragflow.

How do I fix CVE-2024-12433?

No fix has been published for CVE-2024-12433 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2024-12433 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12433 exists.

Sources

Also known as GHSA-wr4v-pc76-3q4p.

Is CVE-2024-12433 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free