๐Ÿ” CVE Alert

CVE-2026-105315

MEDIUM 4.7

django-haystack more_like_this Template Tag elasticsearch_backend.py _to_python eval injection

CVSS Score
4.7
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-95 CWE-94
Vendor n/a
Product django-haystack
Published Oct 5, 2026
Last Updated Oct 5, 2026
Stay Ahead of the Next One

Get instant alerts for n/a django-haystack

Be the first to know when new medium vulnerabilities affecting n/a django-haystack are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

n/a / django-haystack
3.0 3.1 3.2 3.3.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
vuldb.com: https://vuldb.com/vuln/413523 vuldb.com: https://vuldb.com/vuln/413523/cti vuldb.com: https://vuldb.com/cve/CVE-2026-105315 vuldb.com: https://vuldb.com/submit/978642 github.com: https://github.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vv github.com: https://github.com/django-haystack/django-haystack/commit/eb05f193c9771a68dcc8cfac6674a0d48a52ee9d github.com: https://github.com/django-haystack/django-haystack/releases/tag/v3.4.0 github.com: https://github.com/django-haystack/django-haystack/

Credits

๐Ÿ” Mohammedix88 (VulDB User)