CVE Explore

RCE in Django-Haystack

CVE-2026-105315

CVSS v3
4.7 Medium
Public exploits
None known
EPSS
0.003 · 17.2th percentile
Published
2026-10-05

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.

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
High PR:H
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
Low C:L
Integrity
Low I:L
Availability
Low A:L

EPSS exploit prediction

EPSS 0.003, 17.2th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Django-Haystack — versions 3.0, 3.1, 3.2

Weakness classification (CWE)

References