CVE-2024-41950: Deepset Haystack

High severity, CVSS 7.5. EPSS: 1.2% chance of exploitation in the next 30 days.

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`.

Affected products

  • Deepset Haystack: before 2.3.1 (fixed in 2.3.1)
  • Deepset-Ai Haystack: before 2.3.1 (fixed in 2.3.1)

Published 2024-07-31. Last modified 2026-06-17.