Skip to main content
VulnerabilityPublished Updated

CVE-2026-105315: django-haystack

Affects django-haystackSource GCVE Database

0
Compare
Authoritative record:CVE-2026-105315· Medium 5.1

Public exploit available · CVSS 5.1 Medium : upgrade to 3.4.0 as a priority.

Data as of 2 Dec 2026, 18:36 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 16.04 LTSdjango-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=xenialOther threatsAffected
  • =2.4.0-2
  • =2.4.1-1
Fixed in–
Ubuntu 18.04 LTSdjango-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=bionicOther threatsAffected
  • =2.6.1-1
  • =2.7.0-1
  • =2.8.0-1
Fixed in–
Ubuntu 20.04 LTSdjango-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=focalOther threatsAffected
  • =2.8.1-3
Fixed in–
Ubuntu 22.04 LTSdjango-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=jammyOther threatsAffected
  • =3.0-1
  • =3.1.1-1
Fixed in–
Ubuntu 24.04 LTSdjango-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=nobleOther threatsAffected
  • =3.2.1-1
Fixed in–
Ubuntu 26.10django-haystackpkg:deb/ubuntu/django-haystack?arch=source&distro=stonkingOther threatsAffected
  • =3.3.0-2build1
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.

References

Community reviews

Loading reviews…