CVE-2026-105315
A vulnerability has been found in django-haystack up to 3.3.0. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
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
- nvd.nist.gov/vuln/detail/CVE-2026-105315
- cve.org/CVERecord?id=CVE-2026-105315
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.