django-haystack up to 3.3.0 more_like_this Template Tag elasticsearch_backend.py _to_python result_class eval injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.2 | $0-$5k | 2.50+ |
Summary
A vulnerability was found in django-haystack up to 3.3.0. It has been classified as problematic. Affected by this vulnerability is the function _to_python of the file haystack/backends/elasticsearch_backend.py of the component more_like_this Template Tag Handler. Performing a manipulation of the argument result_class results in eval injection.
This vulnerability was named CVE-2026-105315. The attack may be initiated remotely. In addition, an exploit is available.
Upgrading the affected component is recommended.
Details
A vulnerability classified as problematic has been found in django-haystack up to 3.3.0. This affects the function _to_python of the file haystack/backends/elasticsearch_backend.py of the component more_like_this Template Tag Handler. The manipulation of the argument result_class with an unknown input leads to a eval injection vulnerability. CWE is classifying the issue as CWE-95. The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval"). This is going to have an impact on confidentiality, integrity, and availability.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2026-105315. The exploitability is told to be easy. It is possible to initiate the attack remotely. Additional levels of successful authentication are necessary for exploitation. Technical details and a public exploit are known.
The exploit is shared for download at github.com. It is declared as proof-of-concept.
Upgrading to version 3.4.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch eb05f193c9771a68dcc8cfac6674a0d48a52ee9d is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.7VulDB Meta Temp Score: 4.2
VulDB Base Score: 4.7
VulDB Temp Score: 4.2
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Eval injectionCWE: CWE-95 / CWE-94 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: django-haystack 3.4.0
Patch: eb05f193c9771a68dcc8cfac6674a0d48a52ee9d
Timeline
10/05/2026 Advisory disclosed10/05/2026 VulDB entry created
10/05/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-r3hx-x5rh-p9vv
Status: Confirmed
CVE: CVE-2026-105315 (🔒)
GCVE (CVE): GCVE-0-2026-105315
GCVE (VulDB): GCVE-100-413523
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 10/05/2026 09:38Changes: 10/05/2026 09:38 (63)
Complete: 🔍
Submitter: Mohammedix88
Cache ID: 216::103
Submit
Accepted
- Submit #978642: django-haystack 3.3.0 Code Execution (by github.com)
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.