CVE-2026-24770 is a critical vulnerability affecting Infiniflow's RAGFlow, an open-source RAG (Retrieval-Augmented Generation) engine. This vulnerability allows attackers to exploit the MinerU parser, leading to the potential for remote code execution via a malicious ZIP archive. Specifically, the extraction logic in the MinerUParser class fails to properly sanitize filenames in ZIP files, exposing the system to arbitrary file overwrites.
The severity of this vulnerability is classified as critical with a CVSS score of 9.8. The implications for organizations are severe, as this allows for unauthorized control over affected systems. Given the nature of the vulnerability, rapid remediation is essential.
Currently, there are no known public exploits for this vulnerability, but the potential for exploitation exists due to the critical nature of the flaw. Therefore, organizations should prioritize patching immediately.
RAGFlow version 0.23.1 and potentially earlier versions are affected. The vendor has provided a patch as indicated in the commit 64c75d558e4a17a4a48953b4c201526431d8338f. Organizations must act swiftly to implement this fix and mitigate any risks associated with this vulnerability.
Vulnerability Details
The vulnerability allows attackers to exploit an insecure extraction process in the MinerU parser of RAGFlow. Specifically, the extraction logic in `_extract_zip_no_root` does not sanitize filenames within ZIP archives, leading to potential remote code execution.
The CVSS score of 9.8 indicates that this vulnerability poses a critical risk, with high confidentiality, integrity, and availability impacts. As such, it necessitates immediate attention from security teams.
The affected product is RAGFlow, developed by Infiniflow. The vulnerability was published on January 27, 2026, and is classified under CWE-22.
Organizations should refer to the vendor's advisory for further details and remediation steps.
Technical Analysis
The root cause of this vulnerability lies in the improper handling of ZIP file extraction. The MinerU parser retrieves ZIP files from an external source but fails to sanitize filenames during extraction. This oversight allows attackers to craft malicious ZIP files that, when processed, can overwrite arbitrary files on the server.
The attack vector for this vulnerability is network-based, requiring no privileges or user interaction. The complexity of the attack is low, meaning that even less sophisticated attackers can leverage this vulnerability.
The impacts are significant, including high confidentiality, integrity, and availability impacts, making it a substantial threat to organizations utilizing RAGFlow.
Risk & Impact Analysis
Risk to organizations includes potential remote code execution, which could lead to unauthorized access and control over affected systems. The blast radius is considerable, particularly for organizations relying heavily on RAGFlow for their operations.
Given the critical CVSS score of 9.8, organizations must act decisively to patch this vulnerability. The urgency is further emphasized by the fact that no public exploits have been confirmed, but the risk is significant.
Organizations should address this vulnerability in their priority patch cycle to mitigate potential risks effectively.
Exploitation Status
Signal | Status |
|---|---|
Known Exploit | No |
Public PoC | No |
Actively Exploited | No |
Ransomware Use | No |
Affected Versions
RAGFlow versions 0.23.1 and possibly earlier versions are affected by this vulnerability. Organizations are advised to upgrade to the latest version to mitigate this risk.
Mitigation & Remediation
Organizations should patch their RAGFlow installations by applying the update available in commit 64c75d558e4a17a4a48953b4c201526431d8338f. If immediate patching is not possible, consider implementing workarounds such as restricting ZIP file processing and enhancing monitoring for suspicious file activities.
For further assistance, organizations can refer to resources on penetration testing to validate the security of their systems.
Detection Guidance
Organizations should monitor log files for any anomalies related to file extraction processes. Additionally, keep an eye out for unusual file system modifications, especially in directories where ZIP files are processed.
AppSecure Threat Intelligence Insight
This vulnerability is indicative of broader issues related to file handling and extraction processes within applications. Security teams should ensure proper sanitization and validation mechanisms are in place to prevent similar vulnerabilities.
For organizations utilizing cloud services, consider reviewing your security posture against industry standards. Resources such as the cloud penetration testing guide can provide insights into securing cloud-based applications.
Finally, security teams should remain vigilant and adapt their strategies in response to emerging threats. Engaging in regular security assessments, such as penetration testing methodologies, will aid in identifying and mitigating vulnerabilities effectively.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

.webp)