{
  "id": "CVE-2026-27483",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-27483",
  "published_at": "2026-02-24T14:00:05.402Z",
  "title": "MindsDB has Path Traversal in /api/files Leading to Remote Code Execution",
  "vendor": "mindsdb",
  "product": "mindsdb",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-03-06T07:52:36Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 9.7,
    "repo": "thewhiteh4t/cve-2026-27483",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "MindsDB is a platform for building artificial intelligence from enterprise data. Prior to version 25.9.1.1, there is a path traversal vulnerability in Mindsdb's /api/files interface, which an authenticated attacker can exploit to achieve remote command execution. The vulnerability exists in the \"Upload File\" module, which corresponds to the API endpoint /api/files. Since the multipart file upload does not perform security checks on the uploaded file path, an attacker can perform path traversal by using `../` sequences in the filename field. The file write operation occurs before calling clear_filename and save_file, meaning there is no filtering of filenames or file types, allowing arbitrary content to be written to any path on the server. Version 25.9.1.1 patches the issue.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "thewhiteh4t/cve-2026-27483",
      "url": "https://github.com/thewhiteh4t/cve-2026-27483",
      "created_at": "2026-03-06T07:52:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-02-11T05:27:56Z"
    },
    {
      "repo": "nabhan-mohy/cve-2026-27483-lab",
      "url": "https://github.com/nabhan-mohy/cve-2026-27483-lab",
      "created_at": "2026-07-15T06:35:47Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "README gives an archive password"
      ],
      "status": "analyzed",
      "owner_created_at": "2024-06-16T06:59:21Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "mindsdb",
        "product": "mindsdb",
        "ranges": [
          "\u003c 25.9.1.1"
        ],
        "fixed_in": [
          "25.9.1.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mindsdb to 25.9.1.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/mindsdb/mindsdb/security/advisories/GHSA-4894-xqv6-vrfq"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mindsdb/mindsdb/commit/87a44bdb2b97f963e18f10a068e1a1e2690505ef"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/mindsdb/mindsdb/releases/tag/v25.9.1.1"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52547",
      "source": "exploitdb",
      "title": "MindsDB  25.9.1.1 - Path Traversal",
      "published_at": "2026-05-04T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-27483.yaml",
      "source": "nuclei",
      "title": "nuclei template: MindsDB - Remote Code Execution",
      "published_at": "2026-03-06T15:25:04Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/api/status",
      "ports": [
        47334
      ],
      "protocol": "http",
      "repos": [
        "nabhan-mohy/cve-2026-27483-lab",
        "thewhiteh4t/cve-2026-27483"
      ],
      "repo_count": 2,
      "confidence": 0.85,
      "evidence": [
        "nabhan-mohy/cve-2026-27483-lab/README.md:103",
        "nabhan-mohy/cve-2026-27483-lab/README.md:164",
        "thewhiteh4t/cve-2026-27483/cve-2026-27483.py:62",
        "thewhiteh4t/cve-2026-27483/cve-2026-27483.yaml:44"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/handlers/anomaly_detection/install",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "content_type": "application/json",
      "ports": [
        47334
      ],
      "protocol": "http",
      "repos": [
        "thewhiteh4t/cve-2026-27483"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "thewhiteh4t/cve-2026-27483/cve-2026-27483.yaml:145"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/login",
      "body_markers": [
        "\"username\"",
        "\"password\""
      ],
      "content_type": "application/json",
      "ports": [
        47334
      ],
      "protocol": "http",
      "repos": [
        "thewhiteh4t/cve-2026-27483"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "thewhiteh4t/cve-2026-27483/cve-2026-27483.py:50",
        "thewhiteh4t/cve-2026-27483/cve-2026-27483.yaml:79"
      ]
    },
    {
      "method": "PUT",
      "path_template": "/api/files/{var}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "body_markers": [
        "name=",
        "source=",
        "source_type=file",
        "------WebKitFormBoundaryv9dZC0cAHLlHSHD9\nContent-Disposition: form-data; name=\"name\""
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        47334
      ],
      "protocol": "http",
      "repos": [
        "thewhiteh4t/cve-2026-27483"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "thewhiteh4t/cve-2026-27483/cve-2026-27483.py:115",
        "thewhiteh4t/cve-2026-27483/cve-2026-27483.yaml:105"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/handlers/{var}/install",
      "content_type": "application/json",
      "ports": [
        47334
      ],
      "protocol": "http",
      "repos": [
        "thewhiteh4t/cve-2026-27483"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "thewhiteh4t/cve-2026-27483/cve-2026-27483.py:130"
      ]
    }
  ],
  "rules": []
}
