Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-45847

An arbitrary code execution vulnerability exists in versions 23.11.4.2 up to 24.7.4.1 of the MindsDB platform, when one of several integrations is installed on the server. If a specially crafted ‘UPDATE’ query containing Python code is run against a database created with the specified integration engine, the code will be passed to an eval function and executed on the server.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-45847
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:12 UTC · Revision 1

Source evidence

CVE-2024-45847

core-osv · Original source

Published 12 Sept 2024, 12:57 UTC

An arbitrary code execution vulnerability exists in versions 23.11.4.2 up to 24.7.4.1 of the MindsDB platform, when one of several integrations is installed on the server. If a specially crafted ‘UPDATE’ query containing Python code is run against a database created with the specified integration engine, the code will be passed to an eval function and executed on the server.

osv:CVE-2024-45847
Complete source record
{
  "id": "b993898b1c25b3117f57d6c06bdfb97f9bbbfc6e0b79cec8a322f4407be1ce3c",
  "url": "https://osv.dev/vulnerability/CVE-2024-45847",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-45847",
    "summary": "An arbitrary code execution vulnerability exists in versions 23.11.4.2 up to 24.7.4.1 of the MindsDB platform, when one of several integrations is installed on the server. If a specially crafted ‘UPDATE’ query containing Python code is run against a database created with the specified integration engine, the code will be passed to an eval function and executed on the server.",
    "evidence": "osv:CVE-2024-45847",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-45847",
      "aliases": [
        "CVE-2024-45847",
        "GHSA-crmg-rp64-5cm3",
        "PYSEC-2026-1629"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mindsdb/mindshub",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e5a3471a22df3eeeb2332f48544e221a7e91c120"
                },
                {
                  "fixed": "0d7731e030343164d80ec07667ac05657cfb74e5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "23.11.4.2"
                      },
                      {
                        "fixed": "24.7.4.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "23.11.4.2"
                      },
                      {
                        "fixed": "24.7.4.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45847.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.626655894Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45847.json",
        "https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb/",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-45847",
        "https://github.com/mindsdb/mindsdb"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-95"
        ],
        "cna_assigner": "HiddenLayer",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45847.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-45847",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494404,
  "published_at": "2024-09-12T12:57:42.357+00:00"
}