{"id":"CVE-2026-28797","aliases":["CVE-2026-28797"],"related":[],"kind":"vulnerability","state":"published","title":"RAGFlow: Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE) in Agent \"Text Processing\" Component","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"RAGFlow es un motor RAG (Generación Aumentada por Recuperación) de código abierto. En las versiones 0.24.0 y anteriores, existe una vulnerabilidad de Inyección de Plantillas del Lado del Servidor (SSTI) en los componentes de Procesamiento de Texto (StringTransform) y Mensaje del flujo de trabajo del Agente de RAGFlow. Estos componentes utilizan jinja2.Template de Python (sin sandboxing) para renderizar plantillas proporcionadas por el usuario, permitiendo a cualquier usuario autenticado ejecutar comandos arbitrarios del sistema operativo en el servidor. En el momento de la publicación, no hay parches disponibles públicamente.","source":"nvd"}],"published":"2026-04-03T21:41:54.291Z","modified":"2026-07-24T22:10:00.140Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-20","CWE-78","CWE-94","CWE-1336"],"affected":[{"ranges":[{"version":"<= 0.24.0","status":"affected"}],"vendor":"infiniflow","product":"ragflow","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.24.0"}],"vendor":"infiniflow","product":"ragflow","cpe":"cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/infiniflow/ragflow/security/advisories/GHSA-vvwj-fvwh-4whx","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-04-06T18:56:48.455Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-28797","url":"https://www.cve.org/CVERecord?id=CVE-2026-28797","licence":"CVE Terms of Use","modified":"2026-04-06T18:57:26.934Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-28797","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28797","licence":"Public domain","modified":"2026-07-24T22:10:00.140Z"}],"updatedAt":"2026-11-25T22:59:17.925Z","epss":{"score":0.00747,"percentile":0.56061,"date":"2026-12-01T12:00:22.000Z"}}