# CVE-2023-49796: MindsDB Arbitrary File Write vulnerability

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2023-12-11T20:38:25.330Z
- Modified: 2026-06-17T06:36:28.990Z
- Also known as: GHSA-crhp-7c74-cg4c, PYSEC-2023-278
- Weaknesses: CWE-20
- Assigned by: GitHub_M

## Description

MindsDB connects artificial intelligence models to real time data. Versions prior to 23.11.4.1 contain a limited file write vulnerability in `file.py` Users should use MindsDB's `staging` branch or v23.11.4.1, which contain a fix for the issue.

(As written by CVE List.)

## Affected

- mindsdb mindsdb: < 23.11.4.1; 23.7.4.1
- mindsdb (PyPI): before 23.11.4.1; before 8d13c9c28ebcf3b36509eb679378004d4648d8fe; all versions

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/mindsdb/mindsdb/security/advisories/GHSA-crhp-7c74-cg4c> (advisory, vendor-advisory, web)
- <https://github.com/mindsdb/mindsdb/commit/8d13c9c28ebcf3b36509eb679378004d4648d8fe> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49796> (advisory)
- <https://github.com/mindsdb/mindsdb> (package)
- <https://github.com/mindsdb/mindsdb/blob/1821da719f34c022890c9ff25810218e71c5abbc/mindsdb/api/http/namespaces/file.py#L122-L125> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2023-278.yaml> (web)

## Sources

- CVE List: [CVE-2023-49796](https://www.cve.org/CVERecord?id=CVE-2023-49796), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-crhp-7c74-cg4c](https://github.com/advisories/GHSA-crhp-7c74-cg4c), CC-BY-4.0, modified 2024-11-22
- NVD: [CVE-2023-49796](https://nvd.nist.gov/vuln/detail/CVE-2023-49796), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-278](https://osv.dev/vulnerability/PYSEC-2023-278), CC-BY-4.0, modified 2026-04-23

---

Page: https://cve.day/CVE-2023-49796 · Whole record: https://cve.day/CVE-2023-49796.json · Rebuilt by cve.day 2026-11-25T22:58:31.199Z
