CVE-2024-12433CWE-502

Remote Code Execution in infiniflow/ragflow

Critical · published March 20, 2025

CVSS v3.0
9.8
EPSS
2%
Percentile
76.9
In the wild
Unconfirmed
What it is

🔥 A hard-coded AuthKey in RagFlow is an open invitation to chaos! An attacker can easily exploit this to execute remote code without breaking a sweat. 😱 Think of the RPC server as a restaurant with an all-you-can-eat buffet, but the restaurant owner left the door wide open with a sign saying, 'Come on in, no reservations needed!' Any attacker can waltz right in and take whatever they want — absolutely terrifying! An attacker who gains access can run arbitrary code on the server, potentially leading to complete takeover of the system. This could result in data theft, system manipulation, or even launching attacks on other networked systems. It's like giving a thief the keys to your entire house without realizing it!

Put simply

Think of the RPC server as a restaurant with an all-you-can-eat buffet, but the restaurant owner left the door wide open with a sign saying, 'Come on in, no reservations needed!' Any attacker can waltz right in and take whatever they want — absolutely terrifying! The vulnerability arises from a hard-coded authentication key being easily accessible, allowing unauthorized users to join the communication. Coupled with the use of `pickle.loads()` for deserializing incoming data, it opens the door for remote code execution, making it critical to address.

What to do

An attacker who gains access can run arbitrary code on the server, potentially leading to complete takeover of the system. This could result in data theft, system manipulation, or even launching attacks on other networked systems. It's like giving a thief the keys to your entire house without realizing it! Immediately upgrade to version 0.14.0 to close this security gap. Additionally, change the hard-coded AuthKey to something secure and not easily guessable. Implementing stricter authentication methods will help keep those unwanted guests out! You’ve got this! Follow these steps and you’ll have RagFlow secured in no time! 🛡️

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01692 · 76.9th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2025-03-20T10:10Z
EPSS history
Timeline
  • 20 MAR 10:10Z
    Remote Code Execution in infiniflow/ragflow
    cvelistv5