CVE-2026-105315django-haystack more_like_this Template Tag elasticsearch_backend.py _to_python eval injection
Updated under an hour ago ()
Does this affect you?
It affects n/a django-haystack. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.7 MEDIUM (v3.1, CNA)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
- Weakness (CWE)
- CWE-95, CWE-94
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- VulDB
- NVD analysis
- Deferred
- Record last updated
- Oct 5, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
n/a django-haystack django-haystack:django-haystack | 3.0; 3.1; 3.2; 3.3.0; 3.4.0 not affected | CNA record |
References
- https://vuldb.com/vuln/413523vdb-entry, technical-description
- https://vuldb.com/vuln/413523/ctisignature, permissions-required
- https://vuldb.com/cve/CVE-2026-105315third-party-advisory
- https://vuldb.com/submit/978642third-party-advisory
- https://github.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vvexploit
- https://github.com/django-haystack/django-haystack/commit/eb05f193c9771a68dcc8cfac6674a0d48a52ee9dpatch
- https://github.com/django-haystack/django-haystack/releases/tag/v3.4.0patch
- https://github.com/django-haystack/django-haystack/product
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.