The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-12433

CVE-2024-12433: Infiniflow Ragflow RCE Vulnerability

CVE-2024-12433 is a remote code execution vulnerability in Infiniflow Ragflow affecting v0.12.0. Attackers can exploit hard-coded credentials and unsafe pickle deserialization to execute arbitrary code remotely.

Published: April 15, 2026

CVE-2024-12433 Overview

A critical remote code execution vulnerability exists in infiniflow/ragflow versions prior to v0.14.0 due to insecure deserialization combined with hard-coded authentication credentials. The RPC server in RAGFlow uses a hard-coded AuthKey (authkey=b'infiniflow-token4kevinhu') which can be easily discovered by attackers to join the group communication without restrictions. Additionally, the server processes incoming data using Python's pickle.loads() function on connection.recv(), making it vulnerable to arbitrary code execution when an attacker sends malicious serialized objects.

Critical Impact

Attackers can achieve unauthenticated remote code execution by exploiting the hard-coded authentication token and sending malicious pickle payloads to the RPC server, potentially leading to complete system compromise.

Affected Products

  • Infiniflow RAGFlow versions prior to 0.14.0
  • Infiniflow RAGFlow v0.12.0 (confirmed affected)
  • Infiniflow RAGFlow v0.13.0

Discovery Timeline

  • 2025-03-20 - CVE-2024-12433 published to NVD
  • 2025-07-14 - Last updated in NVD database

Technical Details for CVE-2024-12433

Vulnerability Analysis

This vulnerability (CWE-502: Deserialization of Untrusted Data) stems from two fundamental security flaws that chain together to enable remote code execution. The RAGFlow RPC server implements interprocess communication using Python's multiprocessing module, which relies on pickle serialization for data transfer between processes. Pickle is inherently unsafe when processing untrusted data because it can execute arbitrary Python code during deserialization.

The first flaw involves a hard-coded authentication key embedded directly in the source code. This static credential (infiniflow-token4kevinhu) allows any attacker who discovers it to authenticate to the RPC server and join group communications. The second flaw occurs when the server deserializes incoming messages using pickle.loads() without any validation or sanitization, enabling arbitrary code execution when malicious pickle payloads are received.

Root Cause

The root cause is twofold: (1) the use of hard-coded credentials for RPC authentication, violating secure credential management practices, and (2) the direct use of Python's pickle.loads() function to deserialize untrusted network input. Pickle deserialization in Python can instantiate arbitrary objects and execute code through the __reduce__ magic method, making it fundamentally unsafe for processing untrusted data. The combination of these flaws lowers the attack barrier significantly, as attackers only need to discover the static token to gain authenticated access to the vulnerable deserialization endpoint.

Attack Vector

The attack is network-based and requires no user interaction or prior privileges. An attacker can remotely connect to the RAGFlow RPC server using the hard-coded authentication key. Once authenticated, the attacker crafts a malicious pickle payload containing arbitrary Python code (typically using the __reduce__ method to execute system commands). When the server receives and deserializes this payload using pickle.loads(), the embedded code executes with the privileges of the RAGFlow process, potentially allowing full system compromise, data exfiltration, or lateral movement within the network.

The vulnerability was reported through the Huntr Bug Bounty Program.

Detection Methods for CVE-2024-12433

Indicators of Compromise

  • Unusual network connections to RAGFlow RPC server ports from external or unexpected IP addresses
  • Presence of the hard-coded authentication string infiniflow-token4kevinhu in network traffic
  • Unexpected child processes spawned by the RAGFlow application
  • Anomalous system commands executed by the RAGFlow process user account

Detection Strategies

  • Monitor network traffic for connections to RAGFlow RPC endpoints containing known hard-coded credentials
  • Deploy application-level logging to detect authentication attempts using the compromised static token
  • Implement endpoint detection rules to identify pickle deserialization attacks and suspicious process creation chains
  • Review RAGFlow server logs for authentication events from untrusted sources

Monitoring Recommendations

  • Enable verbose logging on RAGFlow deployments to capture RPC authentication events and deserialization operations
  • Configure network monitoring to alert on unexpected connections to RAGFlow service ports
  • Implement file integrity monitoring on RAGFlow installation directories to detect unauthorized modifications
  • Deploy SentinelOne Singularity to monitor for behavioral indicators of post-exploitation activity

How to Mitigate CVE-2024-12433

Immediate Actions Required

  • Upgrade infiniflow/ragflow to version 0.14.0 or later immediately
  • Restrict network access to RAGFlow RPC server ports using firewall rules
  • Audit systems for signs of compromise if running vulnerable versions
  • Rotate any credentials or secrets that may have been exposed on compromised systems

Patch Information

The vulnerability has been addressed in RAGFlow version 0.14.0. The fix is available via the official GitHub commit. Organizations should upgrade immediately by pulling the latest version from the official repository.

text
[tool.poetry]
name = "ragflow"
-version = "0.13.0"
+version = "0.14.0"
description = "[RAGFlow](https://ragflow.io/) is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding. It offers a streamlined RAG workflow for businesses of any scale, combining LLM (Large Language Models) to provide truthful question-answering capabilities, backed by well-founded citations from various complex formatted data."
authors = ["Your Name <you@example.com>"]
license = "https://github.com/infiniflow/ragflow/blob/main/LICENSE"

Source: GitHub Commit

Workarounds

  • If immediate patching is not possible, isolate RAGFlow instances behind a firewall allowing only trusted IP addresses
  • Implement network segmentation to prevent external access to RPC server ports
  • Deploy a reverse proxy with additional authentication requirements in front of RAGFlow services
  • Monitor all RPC traffic for suspicious pickle payloads as a temporary detection measure
bash
# Example firewall configuration to restrict RPC access
# Allow only trusted internal IPs to access RAGFlow RPC ports
iptables -A INPUT -p tcp --dport <ragflow_rpc_port> -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport <ragflow_rpc_port> -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechInfiniflow

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability2.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • Huntr Bug Bounty Listing
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2025-69286: Infiniflow RAGFlow Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English