---
cve: "CVE-2026-45312"
severity: "CRITICAL"
cvss: 9.9
epss: "0.4%"
vendor: "infiniflow"
kev: false
exploited: false
published: "2026-05-29 13:16:22"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-09-27T04:02:40+02:00"
---

# CVE-2026-45312

> 9.9 CRITICAL · 🧪 PoC

## Beschreibung

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In 0.24.0 and earlier, a Jinja2 template injection in the prompt generator (rag/prompts/generator.py) allows any authenticated user to execute arbitrary OS commands on the server. Any normal user can register, create a Canvas workflow with a DuckDuckGo + LLM component chain, and trigger the SSTI.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Referenzen

- <https://github.com/infiniflow/ragflow/security/advisories/GHSA-wpg4-h5g2-jxm6>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-45312) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
