Skip to main content
← All vulnerabilities
CVE-2024-41950GHSA-HX9V-6R9F-W677PYSEC-2026-1447

Insecure Jinja2 templates rendered in Haystack Components can lead to RCE

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Haystack is an end-to-end LLM framework that allows you to build applications powered by LLMs, Transformer models, vector search and more. Haystack clients that let their users create and run Pipelines from scratch are vulnerable to remote code executions. Certain Components in Haystack use Jinja2 templates, if anyone can create and render that template on the client machine they run any code. The vulnerability has been fixed with Haystack `2.3.1`.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • deepset-ai haystack

    fixed in 2.3.1

  • haystack-aiPyPI

    fixed in 2.3.1

References 6

GitHub · deepset-ai/haystack