CVE-2026-105315: medium-severity vulnerability in django-haystack
django-haystack more_like_this Template Tag elasticsearch_backend.py _to_python eval injection
Published
33Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 5.1epss 0.3%
exploitation probability
0.3%top 84% of all CVEs
observed exploitation
nono source reports it
1 public exploit(s)
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.
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Affected products
n/a · django-haystackpublic PoCs found — 1
cve_referencegithub.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vvunverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://github.com/django-haystack/django-haystack/https://github.com/django-haystack/django-haystack/commit/eb05f193c9771a68dcc8cfac6674a0d48a52ee9dhttps://github.com/django-haystack/django-haystack/releases/tag/v3.4.0https://github.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vvhttps://vuldb.com/cve/CVE-2026-105315https://vuldb.com/submit/978642https://vuldb.com/vuln/413523https://vuldb.com/vuln/413523/cti