CVE-2026-105315: django-haystack
Affects django-haystackSource GCVE Database
Public exploit available · CVSS 5.1 Medium : upgrade to 3.4.0 as a priority.
Data as of 2 Dec 2026, 18:36 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.4.0
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:PExploitation evidence
Disclosed: evidence found.
CVE published 5 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade django-haystack to 3.4.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 16.04 LTSdjango-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSdjango-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSdjango-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSdjango-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSdjango-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 26.10django-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade django-haystack to version 3.4.0 or later to address this vulnerability. The patch is available and should be applied to remediate the issue.
Description
A vulnerability exists in django-haystack up to version 3.3.0 in the _to_python function of haystack/backends/elasticsearch_backend.py. This flaw involves improper neutralization of directives in dynamically evaluated code due to manipulation of the result_class argument. The vulnerability can be exploited remotely. An upgrade to version 3.4.0 addresses this issue. The vulnerability has a medium severity rating with a CVSS score of 4.7.