Skip to content
OpenAdvisories
High · 7.5 CVE-2024-41950 EUVD-2024-2367GHSA-hx9v-6r9f-w677PYSEC-2026-1447

Insecure Jinja2 templates rendered in Haystack Components can lead to RCE

Published Jul 31, 2024 · Updated Jul 31, 2024 · Assigned by GitHub_M

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

Affected products

VendorProductAffectedFixed
deepset-ai haystack < 2.3.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI haystack-ai < 2.3.1 2.3.1 GHSA-hx9v-6r9f-w677

References