CVE-2024-41950

Insecure Jinja2 templates rendered in Haystack Components can lead to RCE

Published Jul 31, 2024 CVSS 3.1 · 7.5 High EPSS 1.2% KEV · Not listed
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`.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2367 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`.
Github GHSA Github GHSA GHSA-hx9v-6r9f-w677 Insecure Jinja2 templates rendered in Haystack Components can lead to RCE
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 31, 2024, 4:20 PM
Reserved
Jul 24, 2024, 4:51 PM
Status
Deferred
Published
Jul 31, 2024, 4:15 PM
Modified
Jun 17, 2026, 7:48 AM