High severity7.5OSV Advisory· Published Jul 31, 2024· Updated Apr 15, 2026
CVE-2024-41950
CVE-2024-41950
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
haystack-aiPyPI | < 2.3.1 | 2.3.1 |
Affected products
2- Range: 0.1.2, 0.2.1, 0.3.0, …
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-hx9v-6r9f-w677ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-41950ghsaADVISORY
- github.com/deepset-ai/haystack/commit/3fed1366c448b02189851bf08166c1f6477a02b0nvdWEB
- github.com/deepset-ai/haystack/commit/6c25a5c73e83aa32c3241ba84a5cbb3ac0e8a89envdWEB
- github.com/deepset-ai/haystack/pull/8095nvdWEB
- github.com/deepset-ai/haystack/pull/8096nvdWEB
- github.com/deepset-ai/haystack/releases/tag/v2.3.1nvdWEB
- github.com/deepset-ai/haystack/security/advisories/GHSA-hx9v-6r9f-w677nvdWEB
News mentions
0No linked articles in our index yet.