{"cve":"CVE-2024-41950","nvd":{"published":"2024-07-31T16:15:04.797","modified":"2026-06-17T07:48:30.837","status":"Deferred","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`.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5},"cwes":["CWE-1336"],"references":["https://github.com/deepset-ai/haystack/commit/3fed1366c448b02189851bf08166c1f6477a02b0","https://github.com/deepset-ai/haystack/commit/6c25a5c73e83aa32c3241ba84a5cbb3ac0e8a89e","https://github.com/deepset-ai/haystack/pull/8095","https://github.com/deepset-ai/haystack/pull/8096","https://github.com/deepset-ai/haystack/releases/tag/v2.3.1"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:53:51.317825789+00:00"},"epss":{"cve":"CVE-2024-41950","score":0.01171,"percentile":0.67436,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-hx9v-6r9f-w677","url":"https://osv.dev/vulnerability/GHSA-hx9v-6r9f-w677","summary":"Insecure Jinja2 templates rendered in Haystack Components can lead to RCE","modified":"2026-07-07T17:57:27.499478915Z","packages":[{"ecosystem":"PyPI","name":"haystack-ai","purl":"pkg:pypi/haystack-ai","ranges":["<2.3.1"],"fixed":["2.3.1"]}]},{"id":"PYSEC-2026-1447","url":"https://osv.dev/vulnerability/PYSEC-2026-1447","summary":"Insecure Jinja2 templates rendered in Haystack Components can lead to RCE","modified":"2026-07-07T17:47:42.211158613Z","packages":[{"ecosystem":"PyPI","name":"haystack-ai","purl":"pkg:pypi/haystack-ai","ranges":["<2.3.1"],"fixed":["2.3.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}