Security mailing lists by PureSourceCode

CVE-2026-105315

LOW 2.0CVSS 4.0

django-haystack: Remote Code Execution via `eval()` in Elasticsearch Result Deserialization

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.

Published
5 Oct 2026
Last modified
6 Oct 2026
Assigned by
cna@vuldb.com
NVD status
Deferred
Weakness
CWE-94CWE-95
Also known as
GHSA-r3hx-x5rh-p9vv
Sources
NVDJSONOSV GHSA-r3hx-x5rh-p9vvJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@vuldb.com (Secondary) CVSS 4.0 LOW 2.0 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD cna@vuldb.com (Secondary) CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
NVD cna@vuldb.com (Secondary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:L/Au:M/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI django-haystack < 3.4.0 3.4.0

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 5 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.