
CVE catalog
CVE-2026-105315
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 H
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.25% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | django-haystack | sid | 3.3.0-2 | vulnerable |
| Debian | django-haystack | forky | 3.3.0-2 | vulnerable |
| Debian | django-haystack | trixie | 3.3.0-2 | vulnerable |
| Debian | django-haystack | bookworm | 3.2.1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | django-haystack | source | sid | (unfixed) | not yet assigned | Not reported | [1150169] |
| Debian | django-haystack | source | forky | (unfixed) | not yet assigned | Not reported | [1150169] |
| Debian | django-haystack | source | trixie | (unfixed) | not yet assigned | Not reported | [1150169] |
| Debian | django-haystack | source | bookworm | (unfixed) | not yet assigned | Not reported | [1150169] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-django-haystack]Affected
Source package: [django-haystack]
Details (2)
3.2.1-1· all · bookwormAffected
nvd · django-haystack · debian · bookworm; nvd · django-haystack · debian · 12
3.2.1-1· all · bookwormAffected
nvd · django-haystack · debian · bookworm; nvd · django-haystack · debian · 12
- [python-django-haystack-doc]Affected
Source package: [django-haystack]
Details (2)
3.2.1-1· all · bookwormAffected
nvd · django-haystack · debian · bookworm; nvd · django-haystack · debian · 12
3.2.1-1· all · bookwormAffected
nvd · django-haystack · debian · bookworm; nvd · django-haystack · debian · 12
[Debian 13 (Trixie)]
- [python3-django-haystack]Affected
Source package: [django-haystack]
Details (2)
3.3.0-2· all · trixieAffected
nvd · django-haystack · debian · 13
3.3.0-2· all · trixieAffected
nvd · django-haystack · debian · 13
- [python-django-haystack-doc]Affected
Source package: [django-haystack]
Details (2)
3.3.0-2· all · trixieAffected
nvd · django-haystack · debian · 13
3.3.0-2· all · trixieAffected
nvd · django-haystack · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-105315]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-105315]
- [https://security-tracker.debian.org/tracker/CVE-2026-105315]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-105315.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]