CVE-2023-50731 — MindsDB is a SQL Server for artificial intelligence
MindsDB is a SQL Server for artificial intelligence. Prior to version 23.11.4.1, the `put` method in `mindsdb/mindsdb/api/http/namespaces/file.py` does not validate the user-controlled name value, which is used in a temporary file name, which is afterwards opened for writing on l
Published
2023-12-22T20:43:18.036Z
Last modified
2024-08-02T22:16:47.380Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
01What is this vulnerability?
MindsDB is a SQL Server for artificial intelligence. Prior to version 23.11.4.1, the `put` method in `mindsdb/mindsdb/api/http/namespaces/file.py` does not validate the user-controlled name value, which is used in a temporary file name, which is afterwards opened for writing on lines 122-125, which leads to path injection. Later in the method, the temporary directory is deleted on line 151, but…
02Affected products
| Vendor | Product | Versions |
|---|
| mindsdb | mindsdb | < 23.11.4.1 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2023-12-22T20:43:18.036Z
- Last modified: 2024-08-02T22:16:47.380Z
09References
- securitylab.github.com — https://securitylab.github.com/advisories/GHSL-2023-182_GHSL-2023-184_mindsdb_mi…
- github.com — https://github.com/mindsdb/mindsdb/security/advisories/GHSA-j8w6-2r9h-cxhj
- github.com — https://github.com/mindsdb/mindsdb/blob/1821da719f34c022890c9ff25810218e71c5abbc…
- github.com — https://github.com/mindsdb/mindsdb/blob/1821da719f34c022890c9ff25810218e71c5abbc…
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →