{"data":{"id":"614da4c0-a6f0-462c-9230-f27185228ec5","title":"GHSA-r3hx-x5rh-p9vv: django-haystack: Remote Code Execution via `eval()` in Elasticsearch Result Deserialization","summary":"django-haystack's Elasticsearch backend contains a remote code execution vulnerability where it calls `eval()` (a function that executes Python code from strings) on field values without proper validation. This happens when a SearchField uses an `index_fieldname` alias different from its logical name; the lookup fails and the raw value is passed to `eval()`. An attacker who can control indexed content and trigger a search can execute arbitrary code on the Django application.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-r3hx-x5rh-p9vv","publishedAt":"2026-07-15T22:42:28.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["supply_chain"],"issueType":"vulnerability","affectedPackages":["django-haystack@< 3.4.0 (fixed: 3.4.0)"],"affectedVendors":["HuggingFace"],"affectedVendorsRaw":["django-haystack","Elasticsearch"],"classifierModel":"claude-haiku-4-5-20251001","classifierPromptVersion":"v3","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"patchAvailable":true,"disclosureDate":"2026-07-15T22:42:28.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["integrity","confidentiality","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.75,"researchCategory":null,"atlasIds":null}}