Bug 2545910 (CVE-2026-105315) - CVE-2026-105315 django-haystack: django-haystack: arbitrary code execution via unsafe evaluation of search results
Summary: CVE-2026-105315 django-haystack: django-haystack: arbitrary code execution vi...
Keywords:
Status: NEW
Alias: CVE-2026-105315
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2546281 2546282
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-05 13:04 UTC by OSIDB Bzimport
Modified: 2026-10-06 05:17 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-05 13:04:10 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.