Critical· 9.9official fix available
CVE-2026-45312
CVE-2026-45312 is a critical vulnerability in RAGFlow versions 0.24.0 and earlier, allowing authenticated users to execute arbitrary OS commands via Jinja2 template injection. Upgrading to a version after 0.24.0 fixes the issue.
publishedMay 29, 2026
last modifiedJul 21, 2026
sourcesNVD
severity · cvss
9.9
critical · how bad it is
exploitation · epss
<1%
22th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Aug 20, 2026
An official fix is available, so this entry is kept for 30 days and then removed automatically.
01
Who is affected
Users of RAGFlow 0.24.0 or earlier
02
Real-world impact
Attackers could gain full server control, leading to data theft, service disruption, or malware installation.
03
Why this severity
CVSS 9.9 (critical): Network-based, low-effort attack with high damage potential.
04
What to do about it
official fix available
recommended steps
- 011. Check current RAGFlow version (look for '0.24.0' or earlier in installation files).
- 022. Upgrade to RAGFlow version 0.25.0 or later from official sources.
- 033. Verify installation by checking version number in the application settings.
NVD description
05
Timeline
- May 29, 2026 · May 29, 2026PublishedDisclosed and added to the National Vulnerability Database.
- Jul 21, 2026 · 14d agoAdvisory updatedThe NVD record was last revised.
- Jul 21, 2026 · 14d agoOfficial fix availableA vendor patch or mitigation now exists — see the remediation steps above.
06
How it’s attacked
Attack vectorNetwork (remote)
Attack complexityLow
Privileges requiredLow
User interactionNone needed
ScopeChanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
07
References & advisories
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →