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.
CVE-2026-105315
This medium-severity CVE scores 4.7 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 4.7
- EG Score
- 4.7MEDIUMlow confidence
- EG Risk
- 37EG Risk 37/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity47% × 45%Exploitation40% × 40%Automatability0% × 15%CISA SSVC: Track at low or medium mission impact; Track* at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- —
- EPSS %ILE
- —
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
October 5, 2026
Last Modified
October 5, 2026
Advisory Details (4)
Auto-updated Oct 5, 2026GitHub - django-haystack/django-haystack: Modular search for Django · GitHub
https://github.com/django-haystack/django-haystack/Test improvements and patching Patch GHSA-r3hx-x5rh-p9vv
Patch available: django-haystack/django-haystack v3.4.0
https://github.com/django-haystack/django-haystack/releases/tag/v3.4.0commit eb05f193c977 (django-haystack/django-haystack)
Patch available: django-haystack/django-haystack v3.4.0 (contains commit eb05f193c977)
https://github.com/django-haystack/django-haystack/commit/eb05f193c9771a68dcc8cfac6674a0d48a52ee9dRemote Code Execution via `eval()` in Elasticsearch Result Deserialization · Advisory · django-haystack/django-haystack · GitHub
https://github.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vvVendor Advisories for CVE-2026-105315(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| django-haystack | 1.0.0-final ... 3.3b2 (47 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 8× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-05 14:23 UTCEG score recompute
- 2026-10-05 14:23 UTCNVD updateCVSS v4 → 2
- 2026-10-05 13:46 UTCEG score recompute
- 2026-10-05 13:46 UTCMITRE cvelistV5CVSS v4 → 5.1
- 2026-10-05 13:18 UTCEG score recompute
- 2026-10-05 13:17 UTCNVD updateCVSS v4 → 2
- 2026-10-05 13:02 UTCEG score recompute
- 2026-10-05 13:01 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(4)
What is CVE-2026-105315?
When was CVE-2026-105315 disclosed?
What is the CVSS score of CVE-2026-105315?
How do I remediate CVE-2026-105315?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-105315
Is Your Infrastructure Affected by CVE-2026-105315?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.