Arbitrary Code Injection Affecting django-haystack package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.25% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-DJANGOHAYSTACK-20536684
  • published6 Oct 2026
  • disclosed5 Oct 2026

Introduced: 5 Oct 2026

NewCVE-2026-105315  (opens in a new tab)
CWE-94  (opens in a new tab)
CWE-95  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest django-haystack.

NVD Description

Note: Versions mentioned in the description apply only to the upstream django-haystack package and not the django-haystack package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

A vulnerability has been found in django-haystack up to 3.3.0. Affected is the function _to_python of the file haystack/backends/elasticsearch_backend.py of the component more_like_this Template Tag Handler. Such manipulation of the argument result_class leads to improper neutralization of directives in dynamically evaluated code. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 3.4.0 is able to address this issue. The name of the patch is eb05f193c9771a68dcc8cfac6674a0d48a52ee9d. It is suggested to upgrade the affected component.

CVSS Base Scores

version 3.1