BreachSpiderVerified, not vibes

CVE-2024-41950 in Client products

High 7.5

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

Affects 1 product from 4 vendors. Facts below cite their sources.

CVSS 3.17.5
EPSS1.7%
EPSS percentile78th
FixUnknown

Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Client — —
Deepset Haystack < 2.3.1
Search — —
Vector — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-41950
BreachSpider IDBS-2024-GLOBAL-203055-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2024-07-31
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-1336: CWE-1336

Analysis AI-written, not human-reviewed

Haystack, an end-to-end LLM framework, is vulnerable to remote code execution due to improper handling of Jinja2 templates in user-created Pipelines.

Attackers can exploit this vulnerability by creating and rendering malicious Jinja2 templates on the client machine, leading to arbitrary code execution.

Questions

What is CVE-2024-41950?

Haystack, an end-to-end LLM framework, is vulnerable to remote code execution due to improper handling of Jinja2 templates in user-created Pipelines.

What is the CVSS score for CVE-2024-41950?

CVE-2024-41950 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.7%.

Is CVE-2024-41950 actively exploited?

No confirmed active exploitation of CVE-2024-41950 as of 2026-09-25.

How do I remediate CVE-2024-41950?

Priority: HIGH.

What systems are affected by CVE-2024-41950?

CVE-2024-41950 affects Client; Deepset Haystack; Search; Vector.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Client","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.