Skip to content
Heist/ feed
Back to feed
Medium

Apache Superset: Server arbitrary file read

Type: advisorySources: OSV

Improper Input Validation vulnerability in Apache Superset, allows for an authenticated attacker to create a MariaDB connection with local_infile enabled. If both the MariaDB server (off by default) and the local mysql client on the web server are set to allow for local infile, it's possible for the attacker to execute a specific MySQL/MariaDB SQL command that is able to read files from the server and insert their content on a MariaDB database table.This issue affects Apache Superset: before 3.1.3 and version 4.0.0 Users are recommended to upgrade to version 4.0.1 or 3.1.3, which fixes the issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-34693
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:34 UTC · Revision 1

Source evidence

Apache Superset: Server arbitrary file read

core-osv · Original source

Published 20 Jun 2024, 08:51 UTC

Improper Input Validation vulnerability in Apache Superset, allows for an authenticated attacker to create a MariaDB connection with local_infile enabled. If both the MariaDB server (off by default) and the local mysql client on the web server are set to allow for local infile, it's possible for the attacker to execute a specific MySQL/MariaDB SQL command that is able to read files from the server and insert their content on a MariaDB database table.This issue affects Apache Superset: before 3.1.3 and version 4.0.0 Users are recommended to upgrade to version 4.0.1 or 3.1.3, which fixes the issue.

osv:CVE-2024-34693
Complete source record
{
  "id": "e0dd7f58c3f6030f9dd6284e2a58739c605cf91e50d6c2b807b143b24d140025",
  "url": "https://osv.dev/vulnerability/CVE-2024-34693",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Superset: Server arbitrary file read",
    "summary": "Improper Input Validation vulnerability in Apache Superset, allows for an authenticated attacker to create a MariaDB connection with local_infile enabled. If both the MariaDB server (off by default) and the local mysql client on the web server are set to allow for local infile, it's possible for the attacker to execute a specific MySQL/MariaDB SQL command that is able to read files from the server and insert their content on a MariaDB database table.This issue affects Apache Superset: before 3.1.3 and version 4.0.0 Users are recommended to upgrade to version 4.0.1 or 3.1.3, which fixes the issue.",
    "evidence": "osv:CVE-2024-34693",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-34693",
      "aliases": [
        "BIT-superset-2024-34693",
        "CVE-2024-34693",
        "GHSA-hcr7-cqwc-q5gq",
        "PYSEC-2026-1183"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/superset",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "31e1b63bb3e9f5b3adc289c5580e53d4dcabf277"
                },
                {
                  "introduced": "c35842e9f1c987d5e684969540fea3d8a5d03ad9"
                },
                {
                  "fixed": "3b8bc9b2bd9ee9c10de72bd39859d68676b255fa"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.0.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.0rc2",
            "4.0.0",
            "3.1.2rc1",
            "3.1.2",
            "3.1.1rc1",
            "3.1.0rc4",
            "3.1.0rc3",
            "3.1.0rc2",
            "3.1.0rc1",
            "superset-helm-chart-0.10.15",
            "superset-helm-chart-0.10.14",
            "superset-helm-chart-0.10.13",
            "superset-helm-chart-0.10.12",
            "superset-helm-chart-0.10.11",
            "superset-helm-chart-0.10.10",
            "superset-helm-chart-0.10.9",
            "superset-helm-chart-0.10.8",
            "superset-helm-chart-0.10.7",
            "superset-helm-chart-0.10.6",
            "superset-helm-chart-0.10.5",
            "superset-helm-chart-0.10.4",
            "superset-helm-chart-0.10.3",
            "superset-helm-chart-0.10.2",
            "superset-helm-chart-0.10.1",
            "superset-helm-chart-0.10.0",
            "superset-helm-chart-0.9.4",
            "superset-helm-chart-0.9.3",
            "superset-helm-chart-0.9.2",
            "superset-helm-chart-0.9.1",
            "superset-helm-chart-0.9.0",
            "superset-helm-chart-0.8.10",
            "superset-helm-chart-0.8.9",
            "superset-helm-chart-0.8.8",
            "superset-helm-chart-0.8.7",
            "superset-helm-chart-0.8.6",
            "superset-helm-chart-0.8.5",
            "superset-helm-chart-0.8.4",
            "superset-helm-chart-0.8.3",
            "superset-helm-chart-0.8.2",
            "superset-helm-chart-0.8.1",
            "superset-helm-chart-0.8.0",
            "superset-helm-chart-0.7.7",
            "superset-helm-chart-0.7.6",
            "superset-helm-chart-0.7.4",
            "superset-helm-chart-0.7.3",
            "superset-helm-chart-0.7.2",
            "superset-helm-chart-0.7.1",
            "superset-helm-chart-0.7.0",
            "superset-helm-chart-0.6.6",
            "superset-helm-chart-0.6.5",
            "superset-helm-chart-0.6.4",
            "superset-helm-chart-0.6.3",
            "superset-helm-chart-0.6.2",
            "superset-helm-chart-0.6.1",
            "superset-helm-chart-0.6.0",
            "superset-helm-chart-0.5.10",
            "superset-helm-chart-0.5.9",
            "superset-helm-chart-0.5.8",
            "superset-helm-chart-0.5.7",
            "superset-helm-chart-0.5.6",
            "superset-helm-chart-0.5.5",
            "superset-helm-chart-0.5.4",
            "superset-helm-chart-0.5.3",
            "superset-helm-chart-0.5.2",
            "superset-helm-chart-0.5.1",
            "superset-helm-chart-0.5.0",
            "superset-helm-chart-0.4.0",
            "superset-helm-chart-0.3.12",
            "v2021.40.0",
            "superset-helm-chart-0.3.11",
            "v2021.41.0",
            "superset-helm-chart-0.3.10",
            "superset-helm-chart-0.3.9",
            "v2021.38.0",
            "v2021.36.5",
            "superset-helm-chart-0.3.8",
            "superset-helm-chart-0.3.7",
            "v2021.36.0",
            "v2021.35.0",
            "v2021.34.0",
            "superset-helm-chart-0.3.6",
            "v2021.31.0",
            "v2021.29.0",
            "superset-helm-chart-0.3.5",
            "v2021.27.1",
            "v2021.27.0",
            "superset-helm-chart-0.3.4",
            "superset-helm-chart-0.3.3",
            "superset-helm-chart-0.3.2",
            "superset-helm-chart-0.3.1",
            "superset-helm-chart-0.3.0",
            "superset-helm-chart-0.2.1",
            "superset-helm-chart-0.2.0",
            "v2021.25.0",
            "superset-helm-chart-0.1.6",
            "superset-helm-chart-0.1.5",
            "v2021.23.1",
            "v2021.24.0",
            "superset-helm-chart-0.1.4",
            "v2021.23.0",
            "v2021.21.0",
            "v2021.22.0",
            "superset-helm-chart-0.1.3",
            "v2021.19.0",
            "v2021.20.0",
            "v2021.18.0",
            "v2021.17.0",
            "superset-helm-chart-0.1.2",
            "v2021.15.0",
            "superset-helm-chart-0.1.1",
            "superset-helm-chart-0.1.0",
            "v2021.13.0",
            "v2021.10.0",
            "v2021.9.4",
            "v2021.8.0",
            "v2021.9.0",
            "v2021.7.0",
            "v2021.6.0",
            "v2021.5.1",
            "v2021.5.0",
            "v2021.3.0",
            "2020.51.1",
            "v2020.51.0",
            "test_tag",
            "0.29.0rc1",
            "0.25-fork",
            "0.20.1",
            "0.19.1",
            "0.18.5",
            "0.18.4",
            "0.18.3",
            "0.18.2",
            "0.17.6",
            "0.17.5",
            "0.17.4",
            "0.17.3",
            "0.17.2",
            "0.17.1",
            "airbnb_prod.0.15.5.0",
            "0.17.0",
            "0.16.1",
            "0.16.0",
            "airbnb_prod.0.15.4.2",
            "airbnb_prod.0.15.4.1",
            "0.15.4.1",
            "0.15.4",
            "0.15.3",
            "0.15.1",
            "airbnb_prod.0.15.0.1",
            "0.15.0",
            "airbnb_prod.0.13.0.3",
            "airbnb_prod.0.13.0.2",
            "airbnb_prod.0.13.0.1",
            "0.14.1",
            "airbnb_prod.0.13.0.0",
            "airbnb_prod.0.12.1.0",
            "airbnb_prod.0.12.0.1",
            "0.13.2",
            "0.13.1",
            "0.12.0",
            "airbnb_prod.0.11.0.6",
            "airbnb_prod.0.11.0.5",
            "airbnb_prod.0.11.0.4",
            "airbnb_prod.0.11.0.3",
            "dummy",
            "airbnb_prod.0.11.0.2",
            "airbnb_prod.0.11.0.1",
            "0.11.0",
            "airbnb_prod.0.10.0.2",
            "0.10.0",
            "0.9.1",
            "0.9.0",
            "0.8.9",
            "0.8.8",
            "0.8.7",
            "0.8.6",
            "0.8.5",
            "0.8.4",
            "0.8.3",
            "0.8.0",
            "0.7.0",
            "0.6.1",
            "0.6.0",
            "0.5.3",
            "0.5.2",
            "0.5.1",
            "rm",
            "0.5.0",
            "0.4.0",
            "0.2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-34693.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.565571831Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34693.json",
        "https://lists.apache.org/thread/1803x1s34m7r71h1k0q1njol8k6fmyon",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-34693"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "3.1.3"
                  },
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.0.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34693.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-34693",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499707,
  "published_at": "2024-06-20T08:51:55.329+00:00"
}