Live threats

All CVEs / deepset-ai

CVE-2024-41950deepset-ai haystack

High 7.5

Priority
45
CVSS 3.1
7.5
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
Yes
Published
Jul 31, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1336
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for haystack.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI haystack-ai < 2.3.1 2.3.1 pip install "haystack-ai>=2.3.1"
PyPI haystack-ai < 2.3.1 2.3.1 pip install "haystack-ai>=2.3.1"

Per OSV / GitHub Advisories (GHSA-hx9v-6r9f-w677, PYSEC-2026-1447). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.