[ CVE-2026-105315 · Published 5 Oct 2026 ]
Vulnerability in django-haystack
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
[ Description ]Official description
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.
[ Fixes ]Fixes and patches
No fix or interim patch is linked from our sources yet. Check the vendor references below and limit exposure of affected systems until a fix is available.
[ References ]References
- github.com/django-haystack/django-haystack
- github.com/django-haystack/django-haystack/commit/eb05f193c9771a68dcc8cfac6674a0d48a52ee9d
- github.com/django-haystack/django-haystack/releases/tag/v3.4.0
- github.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vv
- vuldb.com/cve/CVE-2026-105315
- vuldb.com/submit/978642
- vuldb.com/vuln/413523
- vuldb.com/vuln/413523/cti