A vulnerability has been found in django-haystack up to 3.3.0. Affected is the function...

zetlyn/cve-ghsa vulnerability ghsa GHSA-5x9v-pqqg-p8jg cve CVE-2026-105315 known 2026-10-05

https://github.com/advisories/GHSA-5x9v-pqqg-p8jg

Properties

cvss4.7
receipt
Source
GitHub advisories
Its words
4.7
Read by
field:cvss.score
Said since
2026-10-05 18:22 UTC
Last answered
2026-10-06 13:46 UTC
Original
open at the source
What the source handed over
{
  "comments": 0,
  "credits": [],
  "cve_id": "CVE-2026-105315",
  "cvss": {
    "score": 4.7,
    "vector_string": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"
  },
  "cvss_severities": {
    "cvss_v3": {
      "score": 4.7,
      "vector_string": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"
    },
    "cvss_v4": {
      "score": 2.0,
      "vector_string": "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"
    }
  },
  "cwes": [
    {
      "cwe_id": "CWE-94",
      "name": "Improper Control of Generation of Code ('Code Injection')"
    }
  ],
  "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.",
  "ghsa_id": "GHSA-5x9v-pqqg-p8jg",
  "github_reviewed_at": null,
  "html_url": "https://github.com/advisories/GHSA-5x9v-pqqg-p8jg",
  "identifiers": [
    {
      "type": "GHSA",
      "value": "GHSA-5x9v-pqqg-p8jg"
    },
    {
      "type": "CVE",
      "value": "CVE-2026-105315"
    }
  ],
  "nvd_published_at": "2026-10-05T13:16:52Z",
  "published_at": "2026-10-05T15:32:22Z",
  "references": [
    "https://github.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vv",
    "https://nvd.nist.gov/vuln/detail/CVE-2026-105315",
    "https://github.com/django-haystack/django-haystack/commit/eb05f193c9771a68dcc8cfac6674a0d48a52ee9d",
    "https://github.com/django-haystack/django-haystack",
    "https://github.com/django-haystack/django-haystack/releases/tag/v3.4.0",
    "https://vuldb.com/cve/CVE-2026-105315",
    "https://vuldb.com/submit/978642",
    "https://vuldb.com/vuln/413523",
    "https://vuldb.com/vuln/413523/cti",
    "https://github.com/advisories/GHSA-5x9v-pqqg-p8jg"
  ],
  "repository_advisory_url": null,
  "severity": "low",
  "source_code_location": "",
  "summary": "A vulnerability has been found in django-haystack up to 3.3.0. Affected is the function...",
  "type": "unreviewed",
  "updated_at": "2026-10-05T15:32:23Z",
  "url": "https://api.github.com/advisories/GHSA-5x9v-pqqg-p8jg",
  "vulnerabilities": [],
  "withdrawn_at": null
}
cweCWE-94
receipt
Source
GitHub advisories
Its words
CWE-94
Read by
field:cwes[].cwe_id
Said since
2026-10-05 18:22 UTC
Last answered
2026-10-06 13:46 UTC
Original
open at the source
What the source handed over
{
  "comments": 0,
  "credits": [],
  "cve_id": "CVE-2026-105315",
  "cvss": {
    "score": 4.7,
    "vector_string": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"
  },
  "cvss_severities": {
    "cvss_v3": {
      "score": 4.7,
      "vector_string": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"
    },
    "cvss_v4": {
      "score": 2.0,
      "vector_string": "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"
    }
  },
  "cwes": [
    {
      "cwe_id": "CWE-94",
      "name": "Improper Control of Generation of Code ('Code Injection')"
    }
  ],
  "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.",
  "ghsa_id": "GHSA-5x9v-pqqg-p8jg",
  "github_reviewed_at": null,
  "html_url": "https://github.com/advisories/GHSA-5x9v-pqqg-p8jg",
  "identifiers": [
    {
      "type": "GHSA",
      "value": "GHSA-5x9v-pqqg-p8jg"
    },
    {
      "type": "CVE",
      "value": "CVE-2026-105315"
    }
  ],
  "nvd_published_at": "2026-10-05T13:16:52Z",
  "published_at": "2026-10-05T15:32:22Z",
  "references": [
    "https://github.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vv",
    "https://nvd.nist.gov/vuln/detail/CVE-2026-105315",
    "https://github.com/django-haystack/django-haystack/commit/eb05f193c9771a68dcc8cfac6674a0d48a52ee9d",
    "https://github.com/django-haystack/django-haystack",
    "https://github.com/django-haystack/django-haystack/releases/tag/v3.4.0",
    "https://vuldb.com/cve/CVE-2026-105315",
    "https://vuldb.com/submit/978642",
    "https://vuldb.com/vuln/413523",
    "https://vuldb.com/vuln/413523/cti",
    "https://github.com/advisories/GHSA-5x9v-pqqg-p8jg"
  ],
  "repository_advisory_url": null,
  "severity": "low",
  "source_code_location": "",
  "summary": "A vulnerability has been found in django-haystack up to 3.3.0. Affected is the function...",
  "type": "unreviewed",
  "updated_at": "2026-10-05T15:32:23Z",
  "url": "https://api.github.com/advisories/GHSA-5x9v-pqqg-p8jg",
  "vulnerabilities": [],
  "withdrawn_at": null
}
severitylow
Below 4.0.
receipt
Source
GitHub advisories
Its words
low
Read by
field:severity
Said since
2026-10-05 18:22 UTC
Last answered
2026-10-06 13:46 UTC
Original
open at the source
What the source handed over
{
  "comments": 0,
  "credits": [],
  "cve_id": "CVE-2026-105315",
  "cvss": {
    "score": 4.7,
    "vector_string": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"
  },
  "cvss_severities": {
    "cvss_v3": {
      "score": 4.7,
      "vector_string": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"
    },
    "cvss_v4": {
      "score": 2.0,
      "vector_string": "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"
    }
  },
  "cwes": [
    {
      "cwe_id": "CWE-94",
      "name": "Improper Control of Generation of Code ('Code Injection')"
    }
  ],
  "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.",
  "ghsa_id": "GHSA-5x9v-pqqg-p8jg",
  "github_reviewed_at": null,
  "html_url": "https://github.com/advisories/GHSA-5x9v-pqqg-p8jg",
  "identifiers": [
    {
      "type": "GHSA",
      "value": "GHSA-5x9v-pqqg-p8jg"
    },
    {
      "type": "CVE",
      "value": "CVE-2026-105315"
    }
  ],
  "nvd_published_at": "2026-10-05T13:16:52Z",
  "published_at": "2026-10-05T15:32:22Z",
  "references": [
    "https://github.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vv",
    "https://nvd.nist.gov/vuln/detail/CVE-2026-105315",
    "https://github.com/django-haystack/django-haystack/commit/eb05f193c9771a68dcc8cfac6674a0d48a52ee9d",
    "https://github.com/django-haystack/django-haystack",
    "https://github.com/django-haystack/django-haystack/releases/tag/v3.4.0",
    "https://vuldb.com/cve/CVE-2026-105315",
    "https://vuldb.com/submit/978642",
    "https://vuldb.com/vuln/413523",
    "https://vuldb.com/vuln/413523/cti",
    "https://github.com/advisories/GHSA-5x9v-pqqg-p8jg"
  ],
  "repository_advisory_url": null,
  "severity": "low",
  "source_code_location": "",
  "summary": "A vulnerability has been found in django-haystack up to 3.3.0. Affected is the function...",
  "type": "unreviewed",
  "updated_at": "2026-10-05T15:32:23Z",
  "url": "https://api.github.com/advisories/GHSA-5x9v-pqqg-p8jg",
  "vulnerabilities": [],
  "withdrawn_at": null
}

Text

A vulnerability has been found in django-haystack up to 3.3.0. Affected is the function... 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.