Vulnerability  ·  2026-12-04

RAGFlow Canvas StringTransform Handler script injection (template_jinja)

VulnerabilityMedium impactGlobalCVE-2026-143864
CVE-2026-143864 is an improper-neutralization/script-injection flaw in RAGFlow's Canvas StringTransform handler, where the script argument passed to ResolveTemplateJinja is not safely constrained.
RAGFlow pipes user-influenced content through agent canvas transforms. If a script argument is not neutralized, a crafted input can alter or execute agent-runtime logic in the RAG orchestration layer.
The ResolveTemplateJinja handler of the Canvas StringTransform component does not sufficiently neutralize the script argument, allowing improper neutralization that can inject template/script logic into the agent runtime.
InfiniFlow RAGFlow up to 1.0.0 (internal/agent/runtime/template_jinja.go)
Upgrade to a RAGFlow release that fixes the template-jinja handler; constrain who can author/execute canvas string-transform scripts.
NVD — CVE-2026-143864Researcher write-up (DReazer)
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →