# CVE-2023-49796: Improper Input Validation in mindsdb

Source: https://junglewise.ai/threats/cve-2023-49796-improper-input-validation-in-mindsdb  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-12-11  
License: CC BY 4.0 with a link back

CVE-2023-49796 · Severity: low · CVSS 3.1 · Published 2023-12-11

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.

Technologies: [mindsdb (PyPI)](https://junglewise.ai/threats/technologies/mindsdb). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-49796 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-49796 being exploited in the wild.

**How severe is CVE-2023-49796?** Low severity, with a CVSS score of 3.1, published 11 December 2023.

**Which products and versions are affected?** mindsdb (PyPI) ECOSYSTEM:introduced=0,fixed=23.11.4.1, GIT:introduced=0,fixed=8d13c9c28ebcf3b36509eb679378004d4648d8fe|ECOSYSTEM:introduced=0.

**Is there a fix for CVE-2023-49796?** Yes. mindsdb (PyPI): upgrade to 23.11.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-49796?** Check whether you run mindsdb (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mindsdb (PyPI): upgrade to 23.11.4.1 or later

  ```sh
  pip install "mindsdb>=23.11.4.1"
  ```


## Affected products

- mindsdb (PyPI) ECOSYSTEM:introduced=0,fixed=23.11.4.1, GIT:introduced=0,fixed=8d13c9c28ebcf3b36509eb679378004d4648d8fe|ECOSYSTEM:introduced=0

## Identifiers

- CVE-2023-49796
- GHSA-crhp-7c74-cg4c
- PYSEC-2023-278

## Related threats

- [PYSEC-2026-2648 - MindsDB has an Improper Access Control Issue](https://junglewise.ai/threats/cve-2026-7711-mindsdb-has-an-improper-access-control-issue)
- [PYSEC-2026-1628 - MindsDB Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2024-45856-mindsdb-cross-site-scripting-in-web-ui)
- [PYSEC-2026-1629 - MindsDB Eval Injection vulnerability](https://junglewise.ai/threats/cve-2024-45847-mindsdb-eval-injection-vulnerability)
- [MindsDB path traversal in /api/files leading to RCE](https://junglewise.ai/threats/cve-2026-27483-mindsdb-path-traversal-in-api-files-leading-to-rce)
- [MindsDB SSRF via URL validation bypass in File Upload](https://junglewise.ai/threats/cve-2026-2531-mindsdb-ssrf-via-url-validation-bypass-in-file-upload)
