Back to CVE records
Medium 4.7Published Oct 5, 2026

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.

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

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

  • vdb-entry, technical-description
  • signature, permissions-required
  • third-party-advisory
  • third-party-advisory
  • exploit
  • patch
  • patch
  • product

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.