p PatchFirst

CVE-2024-41950

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 7.5 · High · EPSS 1.2% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • haystack

    Versions
    • < 2.3.1: Affected

    No fix published

  • haystack-ai PyPI

    Versions
    • 2.0.0
    • 2.0.0a1
    • 2.0.0a2
    • 2.0.0a3
    • 2.0.0b1
    • 2.0.0b2
    • 2.0.0b3
    • 2.0.0b4
    • 2.0.0b5
    • 2.0.0b6
    • 2.0.0b7
    • 2.0.0b8
    • 2.0.0rc1
    • 2.0.1
    • 2.0.1rc1
    • 2.0.1rc2
    • 2.1.0
    • 2.1.0rc1
    • 2.1.0rc2
    • 2.1.1
    • 2.1.1rc1
    • 2.1.2
    • 2.1.2rc1
    • 2.2.0
    • 2.2.0rc1
    • 2.2.0rc2
    • 2.2.1
    • 2.2.1rc1
    • 2.2.2
    • 2.2.2rc1
    • 2.2.3
    • 2.2.4
    • 2.2.4rc1
    • 2.3.0
    • 2.3.0rc1
    • 2.3.0rc2
    • 2.3.1rc1
    Affected ranges
    • ECOSYSTEM: < 2.3.1

    Update to 2.3.1

Original sources

Check your server →