CVE-2026-24770
RAGFlow Affected by Zip Slip Remote Code Execution (RCE) in MinerUParser
Description
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In version 0.23.1 and possibly earlier versions, the MinerU parser contains a "Zip Slip" vulnerability, allowing an attacker to overwrite arbitrary files on the server (leading to Remote Code Execution) via a malicious ZIP archive. The MinerUParser class retrieves and extracts ZIP files from an external source (mineru_server_url). The extraction logic in `_extract_zip_no_root` fails to sanitize filenames within the ZIP archive. Commit 64c75d558e4a17a4a48953b4c201526431d8338f contains a patch for the issue.
In plain language
AI Act nowIf you run RAGFlow version 0.23.1 or earlier, an attacker can send a crafted ZIP archive to your server and overwrite files to run malicious code—this is a high-risk problem for small businesses, especially if the app can fetch MinerU files from an attacker-controlled URL.
Unauthenticated Zip Slip in RAGFlow’s MinerUParser allows network attackers to overwrite arbitrary files and achieve Remote Code Execution by delivering a malicious ZIP that extracts with invalid paths when the application processes archives sourced from mineru_server_url.
What to do now
- Check your RAGFlow version; if it is 0.23.1 or earlier, treat you as affected.
- Verify whether mineru_server_url points to any URL you don’t fully control (or can be reached/controlled by an attacker).
- Upgrade RAGFlow to the patched state that includes the fix from commit 64c75d558e4a17a4a48953b4c201526431d8338f (see the vendor advisory).
- If you cannot upgrade immediately, block external access so only trusted sources can be used for mineru_server_url, and prevent the application from fetching ZIP content from untrusted or user-influenced locations.
CVSS Vector Breakdown
AV:NAttack VectorAC:LAttack ComplexityPR:NPrivileges RequiredUI:NUser InteractionS:UScopeC:HConfidentialityI:HIntegrityA:HAvailabilityWeaknesses
Affected Products
Exploitability
Attack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
2 techniquesReferences
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-24770 and every CVE in our database. Create a free account — no credit card required.
Create Free Account