HighVulnerabilityLLM-specific
CVE-2024-41950: Haystack remote code execution through user-created Jinja2 templates
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-41950
- Published
- Record updated
- Affected
- haystack-ai < 2.3.1
- Fixed in
- 2.3.1
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.2%
Summary
CVE-2024-41950 affects Haystack clients that let users create and run Pipelines from scratch. Certain Haystack Components use Jinja2 templates, and if an attacker can create and render such a template on the client machine, they can run arbitrary code. The weakness is classified as CWE-1336, Improper Neutralization of Special Elements Used in a Template Engine.
Mitigation
Fixed with Haystack 2.3.1.
Related items
- CriticalCVE-2026-108263: Astron Agent code-node execution as root through workflow run endpointsSimilar attack · NVD/CVE Database
- MediumHackers abuse Google Ads, Bing redirects to push Claude ClickFix attacksSimilar attack · BleepingComputer
- CriticalHermes Agent - PKCE Session Takeover via Redirect-URI Parser ConfusionSimilar attack · Tenable Research Advisories
- LowSocial Engineering AI Agents: The New BEC for 2026Similar attack · Dark Reading
- HighGHSA-cv3g-hj65-pcfh: PraisonAI: Shell command allowlist bypass via find -exec built-in actionSimilar attack · GitHub Advisory Database