Improper Input Validation in django-haystack Affects Multiple Versions
CVE-2026-105315
Key Information:
- Vendor
WordPress
- Status
- Vendor
- CVE Published:
- 5 October 2026
Badges
What is CVE-2026-105315?
A security issue has been identified in django-haystack versions up to 3.3.0, specifically in the _to_python function found in the haystack/backends/elasticsearch_backend.py file. The vulnerability arises from improper handling of the 'result_class' argument, potentially allowing for the execution of arbitrary code through injected directives in dynamically evaluated contexts. Attackers can exploit this vulnerability remotely, exposing systems to significant risks. Users are strongly advised to upgrade to version 3.4.0, which includes a patch addressing this flaw.
Affected Version(s)
django-haystack 3.0
django-haystack 3.1
django-haystack 3.2
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved