Intel

AIKIDO-2024-10221

haystack-ai is vulnerable to Remote Code Execution (RCE)

CVE-2024-41950Published Aug 15, 2024
August 15, 2024

35

CVE Score

Low

Remote Code Execution (RCE)

Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to Remote Code Execution (RCE) when using unsecure Jinja templates in dynamic prompt builders.

How do I fix this?

Upgrade the haystack-ai library to the patch version.

Who does this affect?

You are affected if you are using a version which is within vulnerability ranges and when you are using unsecure Jinja templates.

Versions

2.0.0 - 2.3.1

Fixed in 2.4.0

Background info

haystack-ai is vulnerable to Remote Code Execution (RCE) in versions 2.0.0 - 2.3.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea