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.
Configurations

No configuration.

History

05 Oct 2026, 13:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-05 13:16

Updated : 2026-10-06 15:04


NVD link : CVE-2026-105315

Mitre link : CVE-2026-105315

CVE.ORG link : CVE-2026-105315


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-95

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')