Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-28797: CWE-20: Improper Input Validation in infiniflow ragflow

0
High
Published: Fri Apr 03 2026 (04/03/2026, 21:41:54 UTC)
Source: CVE Database V5
Vendor/Project: infiniflow
Product: ragflow

Description

RAGFlow versions 0. 24. 0 and earlier contain a Server-Side Template Injection (SSTI) vulnerability in the Agent workflow's Text Processing and Message components. These components use Python's jinja2. Template without sandboxing to render user-supplied templates, enabling any authenticated user to execute arbitrary operating system commands on the server. No patches or official fixes are available at the time of publication. The vulnerability has a high severity score of 8. 7 CVSS 4. 0. There are no known exploits in the wild currently.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/03/2026, 22:15:29 UTC

Technical Analysis

RAGFlow, an open-source Retrieval-Augmented Generation engine, suffers from a Server-Side Template Injection vulnerability in versions up to 0.24.0. The vulnerability arises because the Agent workflow's Text Processing (StringTransform) and Message components render user-supplied templates using Python's jinja2.Template in an unsandboxed manner. This improper input validation allows authenticated users to execute arbitrary OS commands on the server hosting RAGFlow. The CVSS 4.0 base score is 8.7, reflecting network attack vector, low attack complexity, no user interaction, and high impacts on confidentiality, integrity, and availability. No vendor patches or mitigations are currently available.

Potential Impact

Successful exploitation allows any authenticated user to execute arbitrary operating system commands on the server running RAGFlow. This can lead to full compromise of the server, including unauthorized data access, modification, or service disruption. The vulnerability affects confidentiality, integrity, and availability of the affected system. No known exploits are reported in the wild at this time.

Mitigation Recommendations

At the time of this report, no official patches or fixes are available for this vulnerability. Users should avoid deploying vulnerable versions (0.24.0 and earlier) in production environments. Restrict access to authenticated users only and monitor for suspicious activity. Follow the vendor's advisory for updates and apply patches promptly once they become available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-03T14:25:19.245Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69d038800a160ebd925f4637

Added to database: 4/3/2026, 10:00:32 PM

Last enriched: 4/3/2026, 10:15:29 PM

Last updated: 4/3/2026, 11:13:46 PM

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses