Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-41950— Insecure Jinja2 templates rendered in Haystack Components can lead to RCE

Quick assessment

Affected
deepset-ai haystack
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Haystack是deepset开源的一个开源 NLP 框架,可使用 Transformer 模型和 LLM(GPT-4、ChatGPT 等)与用户的数据进行交互。 Haystack 2.3.1之前版本存在安全漏洞。攻击者利用该漏洞可以导致远程代码执行。

CVSS 7.5 · High EPSS 1.17% · P66

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-41950

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Insecure Jinja2 templates rendered in Haystack Components can lead to RCE
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1336
Source: CVE Program / CVE List V5
Vulnerability Title
Haystack 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Haystack是deepset开源的一个开源 NLP 框架,可使用 Transformer 模型和 LLM(GPT-4、ChatGPT 等)与用户的数据进行交互。 Haystack 2.3.1之前版本存在安全漏洞。攻击者利用该漏洞可以导致远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
deepset-ai haystack < 2.3.1 -

II. Public POCs for CVE-2024-41950

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7902 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-41950

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-41950 (4)

Vendor Advisories for CVE-2024-41950 (1)

Other References for CVE-2024-41950 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-41950

No comments yet


Leave a comment