Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-105315
Published:October 05, 2026
Updated:October 10, 2026
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.
Affected Packages
django-haystack (CONDA):
Affected version(s) >=3.2.1 <3.4.0
Fix Suggestion:
Update to version 3.4.0
https://github.com/django-haystack/django-haystack.git (GITHUB):
Affected version(s) >=v3.0 <v3.4.0
Fix Suggestion:
Update to version v3.4.0
django-haystack (PYTHON):
Affected version(s) >=3.0 <3.4.0
Fix Suggestion:
Update to version 3.4.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
4.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Exploit Maturity
PROOF-OF-CONCEPT
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
EPSS
Base Score:
0.25