ADVISORIES

Vulnerability

CVE-2026-105315

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.

3 advisories report this vulnerability, across 3 ecosystems.

Low severity All Debian 1PyPI 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2026-105315

    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…

    CVE-2026-105315 Debian Updated 7 October 2026
  • GHSA-r3hx-x5rh-p9vv

    django-haystack: Remote Code Execution via `eval()` in Elasticsearch Result Deserialization

    High CVE-2026-105315 PyPI Updated 6 October 2026
  • UBUNTU-CVE-2026-105315

    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…

    CVE-2026-105315 Ubuntu Updated 24 November 2026

References