Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-105315— django-haystack more_like_this Template Tag elasticsearch_backend.py _to_python eval injection

Quick assessment

Affected
n/a django-haystack
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 django-haystack 3.3.0 及更低版本中发现了一个安全漏洞。受影响的组件是 haystack/backends/elasticsearch_backend.py 文件中的 haystack 模块的 函数,具体位于 more_like_this 模板标签处理器中。 对该函数的参数 进行恶意操控,会导致在动态执行代码时无法正确中和(安全化处理)相关指令,从而可能引发代码注入等安全问题。 该漏洞可以被远程攻击者利用,相关攻击方法已被公开,且存在可用的利用工具(PoC),因此存在实际被利用的风险。 建议

CVSS 4.7 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-105315

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
django-haystack more_like_this Template Tag elasticsearch_backend.py _to_python eval injection
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
动态执行代码中指令转义处理不恰当(Eval注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
- django-haystack 3.0 cpe:2.3:a:django-haystack:django-haystack:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-105315

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-105315

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-105315 (1)

Other References for CVE-2026-105315 (7)

Same Patch Batch · n/a · 2026-10-05 · 9 CVEs total

CVE-2026-105307 7.3 HIGH Casdoor API Endpoint authz_filter.go ApiFilter missing authentication
CVE-2026-105251 6.3 MEDIUM vgmstream VAG File psx_decoder.c ps_find_padding out-of-bounds
CVE-2026-105248 6.3 MEDIUM vgmstream TXTP File txtp_parser.c txtp_parse out-of-bounds write
CVE-2026-105180 6.3 MEDIUM Jeebase UserService info updateUser dynamically-determined object attributes
CVE-2026-105174 5.4 MEDIUM Gerapy Project Management views.py project_create path traversal
CVE-2026-105249 4.8 MEDIUM vgmstream TXTP File txtp_process.c make_group_random use after free
CVE-2026-105263 4.7 MEDIUM Shaarli Admin Metadata Endpoint MetadataController.php MetadataController server-side requ
CVE-2026-105250 4.3 MEDIUM vgmstream Microsoft IMA Decoder ima_decoder.c decode_ms_ima divide by zero

IV. Related Vulnerabilities

V. Comments for CVE-2026-105315

No comments yet


Leave a comment