CVE-2024-41950CWE-1336

Insecure Jinja2 templates rendered in Haystack Components can lead to RCE

High · published July 31, 2024

CVSS v3.1
7.5
EPSS
1%
Percentile
67.2
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01171 · 67.2th percentile
Weakness
CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine
Published
2024-07-31T15:50Z
EPSS history
Timeline
  • 31 JUL 15:50Z
    Insecure Jinja2 templates rendered in Haystack Components can lead to RCE
    cvelistv5