{"cve":"CVE-2026-105315","nvd":{"published":"2026-10-05T13:16:52.823","modified":"2026-10-06T15:04:52.637","status":"Deferred","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","score":2.0},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","score":4.7},"cwes":["CWE-94","CWE-95"],"references":["https://github.com/django-haystack/django-haystack/","https://github.com/django-haystack/django-haystack/commit/eb05f193c9771a68dcc8cfac6674a0d48a52ee9d","https://github.com/django-haystack/django-haystack/releases/tag/v3.4.0","https://github.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vv","https://vuldb.com/cve/CVE-2026-105315"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:57:46.668721662+00:00"},"epss":{"cve":"CVE-2026-105315","score":0.00254,"percentile":0.16855,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-r3hx-x5rh-p9vv","url":"https://osv.dev/vulnerability/GHSA-r3hx-x5rh-p9vv","summary":"django-haystack: Remote Code Execution via `eval()` in Elasticsearch Result Deserialization","modified":"2026-10-06T02:56:07.360266492Z","packages":[{"ecosystem":"PyPI","name":"django-haystack","purl":"pkg:pypi/django-haystack","ranges":["<3.4.0"],"fixed":["3.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}