CVE-2026-105315

django-haystack more_like_this Template Tag elasticsearch_backend.py _to_python eval injection

  • Medium 5.8
  • A public exploit reference is listed

Description

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.

Key facts

Published
5 Oct 2026
Last changed
5 Oct 2026
Assigned by
VulDB
EPSS
0.254% likely to be exploited in the next 30 days, higher than 17.153% of CVEs (scores for 17 Nov 2026)
SSVC (CISA)
Exploitation: poc; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 5.1CVSS 4.0, Mediumfrom the CNA (VulDB)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
  • 4.7CVSS 3.1, Mediumfrom the CNA (VulDB)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
  • 4.7CVSS 3.0, Mediumfrom the CNA (VulDB)CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
  • 5.8CVSS 2.0, Mediumfrom the CNA (VulDB)AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:OF/RC:C

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
n/adjango-haystack
  • 3.0 (affected)
  • 3.1 (affected)
  • 3.2 (affected)
  • 3.3.0 (affected)
  • 3.4.0 (unaffected)

Timeline

  1. 5 Oct 2026 Advisory disclosed
  2. 5 Oct 2026 VulDB entry created
  3. 5 Oct 2026 VulDB entry last update
  4. 5 Oct 2026 Published

Weakness

References