What happened
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.
Why it matters
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.
Attack vector
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.
Affected systems
InfiniFlow RAGFlow up to 1.0.0 (internal/agent/runtime/template_jinja.go)
Mitigation
Upgrade to a RAGFlow release that fixes the template-jinja handler; constrain who can author/execute canvas string-transform scripts.