Security Digest · Vulnerability record

CVE-2026-28797: RAGFlow: Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE) in Agent "Text Processing" Component

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine.

CVSS 8.7 High EPSS 0.6% · p49 Check exposure

Should you act?

Normal patch cycle

No exploitation signal; fix it in your next routine update if you are affected. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 0.6%, percentile 49: FIRST’s model estimates a 0.6% chance of exploitation activity in the next 30 days, higher than 49% of all scored CVEs (low). EPSS is a probability, not a verdict.
  • Needs an account (low (any account)). Exposure depends on who can log in.
  • Editorial verdict: Check exposure. ARTEX AI Agents Hunt Exposed LLM Gateways for API Keys — Nothing here is a new bug: automated agents are finding self-hosted AI gateways and app builders that are exposed with default keys, unfinished setups or old Langflow and RAGFlow versions, so the fix is basic hardening and key rotation.

What it is

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions 0.24.0 and prior, a Server-Side Template Injection (SSTI) vulnerability exists in RAGFlow's Agent workflow Text Processing (StringTransform) and Message components. These components use Python's jinja2.Template (unsandboxed) to render user-supplied templates, allowing any authenticated user to execute arbitrary operating system commands on the server. At time of publication, there are no publicly available patches.

Weakness type: CWE-20, CWE-78, CWE-94, CWE-1336.

Product: infiniflow ragflow · Assigned by: GitHub_M · Published: 2026-04-03

Affected and fixed versions

VendorProductAffected versions (per CVE record)
infiniflowragflow<= 0.24.0

Severity scores

Scored byCVSSScoreVector
GitHub_M4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA-ADP3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: none
  • Privileges required: low (any account)
  • User interaction: none

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable no, technical impact total.
  • FIRST EPSS (model of 2026-11-21): 0.60% probability of exploitation activity in the next 30 days; percentile 49.

Timeline

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. CVE.org record CVE-2026-28797 cve.org
  2. NVD entry CVE-2026-28797 nvd.nist.gov

Other references from the CVE record and advisory

  1. github.com github.com

Today’s Security Digest