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-2026-24770

CVE-2026-24770: RAGFlow MinerU Parser RCE Vulnerability

CVE-2026-24770 is a Zip Slip remote code execution vulnerability in RAGFlow's MinerU parser that enables attackers to overwrite files and execute code. This article covers technical details, affected versions, and mitigation.

Published: January 30, 2026

CVE-2026-24770 Overview

CVE-2026-24770 is a path traversal vulnerability, commonly known as "Zip Slip," affecting RAGFlow, an open-source Retrieval-Augmented Generation (RAG) engine. The vulnerability exists in the MinerU parser component in version 0.23.1 and potentially earlier versions. By exploiting improper filename sanitization during ZIP archive extraction, an attacker can overwrite arbitrary files on the server, ultimately achieving Remote Code Execution (RCE).

Critical Impact

This Zip Slip vulnerability allows unauthenticated remote attackers to overwrite arbitrary files on the server, potentially leading to complete system compromise through Remote Code Execution.

Affected Products

  • RAGFlow version 0.23.1
  • RAGFlow versions prior to 0.23.1 (potentially affected)
  • Systems using the MinerUParser class for ZIP extraction

Discovery Timeline

  • 2026-01-27 - CVE CVE-2026-24770 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2026-24770

Vulnerability Analysis

This vulnerability stems from a classic Zip Slip attack pattern (CWE-22: Improper Limitation of a Pathname to a Restricted Directory). The MinerUParser class in RAGFlow retrieves and extracts ZIP files from an external source configured via mineru_server_url. The core issue lies in the _extract_zip_no_root function, which processes filenames within the ZIP archive without proper sanitization.

When extracting files from a ZIP archive, the function fails to validate that the resulting file path remains within the intended destination directory. An attacker can craft a malicious ZIP archive containing files with directory traversal sequences (such as ../) in their filenames. When extracted, these files are written outside the intended extraction directory, potentially overwriting critical system files or application components.

Root Cause

The root cause is the absence of filename sanitization in the _extract_zip_no_root extraction logic. The function does not perform path canonicalization or validate that extracted file paths resolve to locations within the designated extraction directory. This allows directory traversal sequences embedded in ZIP entry filenames to escape the extraction boundary.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker can exploit this vulnerability through the following attack chain:

  1. The attacker crafts a malicious ZIP archive containing files with path traversal sequences in their names (e.g., ../../etc/cron.d/malicious or ../../../app/config.py)
  2. The attacker hosts this malicious ZIP file on a server or manipulates the mineru_server_url to point to the malicious archive
  3. When RAGFlow's MinerUParser processes the archive, files are extracted to arbitrary locations on the filesystem
  4. By overwriting application code, configuration files, or system scripts, the attacker achieves Remote Code Execution

The vulnerability mechanism can be understood conceptually: during ZIP extraction, the code retrieves each entry's filename directly from the archive without validating the path. A filename like ../../../../tmp/malicious.sh would result in the file being written far outside the intended extraction directory. For detailed technical analysis, see the GitHub Security Advisory.

Detection Methods for CVE-2026-24770

Indicators of Compromise

  • Unexpected files appearing outside the normal RAGFlow data directories
  • Modified system files or application configuration files with recent timestamps
  • Evidence of cron jobs or startup scripts that were not legitimately created
  • Unusual process execution originating from the RAGFlow application context

Detection Strategies

  • Monitor file system activity for writes outside expected extraction directories during ZIP processing operations
  • Implement file integrity monitoring (FIM) on critical system directories and application code paths
  • Review web server and application logs for suspicious ZIP file requests or unusual MinerU parser activity
  • Alert on any file creation events in sensitive directories like /etc/cron.d/, /usr/bin/, or application root directories

Monitoring Recommendations

  • Enable detailed logging for the MinerUParser component and ZIP extraction operations
  • Configure real-time alerts for file modifications in protected system directories
  • Monitor network traffic to and from the mineru_server_url endpoint for anomalies
  • Implement SentinelOne's Singularity XDR for behavioral detection of post-exploitation activities following arbitrary file writes

How to Mitigate CVE-2026-24770

Immediate Actions Required

  • Update RAGFlow to a version containing commit 64c75d558e4a17a4a48953b4c201526431d8338f or later
  • If immediate patching is not possible, restrict network access to the MinerU parser functionality
  • Review server file systems for signs of compromise, particularly in system directories
  • Implement network segmentation to limit the RAGFlow server's ability to write to sensitive file paths

Patch Information

The vulnerability has been addressed in commit 64c75d558e4a17a4a48953b4c201526431d8338f. This patch adds proper filename sanitization to the ZIP extraction logic, ensuring that extracted files cannot escape the designated extraction directory. Users should update their RAGFlow installations to include this fix. For patch details, see the GitHub Commit.

Workarounds

  • Disable or restrict access to the MinerU parser functionality until the patch can be applied
  • Configure the application to run with minimal filesystem permissions to limit the impact of arbitrary file writes
  • Implement a Web Application Firewall (WAF) rule to inspect and block requests containing malicious ZIP archives
  • Use container isolation or chroot environments to constrain the RAGFlow application's filesystem access
bash
# Example: Run RAGFlow in a restricted container environment
docker run --read-only \
  --tmpfs /tmp:rw,noexec,nosuid \
  --security-opt=no-new-privileges \
  ragflow:latest

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRagflow

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.42%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Changes

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-28797: RAGFlow SSTI Remote Code Execution Flaw
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