{"id":"CVE-2023-49795","aliases":["CVE-2023-49795","GHSA-34mr-6q8x-g9r6","PYSEC-2023-277"],"related":[],"kind":"vulnerability","state":"published","title":"MindsDB Server-Side Request Forgery vulnerability","summary":"MindsDB connects artificial intelligence models to real time data. Versions prior to 23.11.4.1 contain a server-side request forgery vulnerability in `file.py`. This can lead to limited information disclosure. Users should use MindsDB's `staging` branch or v23.11.4.1, which contain a fix for the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"MindsDB connects artificial intelligence models to real time data. Versions prior to 23.11.4.1 contain a server-side request forgery vulnerability in `file.py`. This can lead to limited information disclosure. Users should use MindsDB's `staging` branch or v23.11.4.1, which contain a fix for the issue.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe put method in `mindsdb/mindsdb/api/http/namespaces/file.py` does not validate the user-controlled URL in the source variable and uses it to create arbitrary requests on line 115, which allows Server-side request forgery (SSRF). This issue may lead to Information Disclosure. The SSRF allows for forging arbitrary network requests from the MindsDB server. It can be used to scan nodes in internal networks for open ports that may not be accessible externally, as well as scan for existing files on the internal network. It allows for retrieving files with csv, xls, xlsx, json or parquet extensions, which will be viewable via MindsDB GUI. For any other existing files, it is a blind SSRF.\n \n### Patches\n\nUse mindsdb staging branch or v23.11.4.1\n\n### References\n\n* GHSL-2023-182\n[SSRF prevention cheatsheet](https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html).","format":"markdown","source":"ghsa"},{"lang":"es","text":"MindsDB conecta modelos de inteligencia artificial con datos en tiempo real. Las versiones anteriores a la 23.11.4.1 contienen una vulnerabilidad de server-side request forgery en `file.py`. Esto puede conducir a una divulgación limitada de información. Los usuarios deben utilizar la rama `staging` de MindsDB o la versión 23.11.4.1, que contiene una solución para el problema.","source":"nvd"}],"published":"2023-12-11T19:01:00.946Z","modified":"2026-09-10T03:49:59.241Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 23.11.4.1","status":"affected"}],"vendor":"mindsdb","product":"mindsdb","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"23.11.4.1"}],"ecosystem":"PyPI","package":"mindsdb","purl":"pkg:pypi/mindsdb","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"23.11.4.1"}],"vendor":"mindsdb","product":"mindsdb","cpe":"cpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"8d13c9c28ebcf3b36509eb679378004d4648d8fe"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"23.11.4.1"}],"ecosystem":"PyPI","package":"mindsdb","purl":"pkg:pypi/mindsdb","repo":"https://github.com/mindsdb/mindsdb","source":"pysec"}],"references":[{"url":"https://github.com/mindsdb/mindsdb/security/advisories/GHSA-34mr-6q8x-g9r6","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/mindsdb/mindsdb/commit/8d13c9c28ebcf3b36509eb679378004d4648d8fe","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49795","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mindsdb/mindsdb","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2023-277.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-49795","url":"https://www.cve.org/CVERecord?id=CVE-2023-49795","licence":"CVE Terms of Use","modified":"2024-08-02T22:01:26.010Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-34mr-6q8x-g9r6","url":"https://github.com/advisories/GHSA-34mr-6q8x-g9r6","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:59.241Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-49795","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49795","licence":"Public domain","modified":"2026-06-17T06:36:28.857Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-277","url":"https://osv.dev/vulnerability/PYSEC-2023-277","licence":"CC-BY-4.0","modified":"2024-11-21T14:57:10.890Z"}],"updatedAt":"2026-11-25T22:58:31.195Z","epss":{"score":0.00422,"percentile":0.38471,"date":"2026-12-01T12:00:22.000Z"}}