CVSS 3.1 Score 9.1 of 10 (high)


Published Dec 22, 2023
Updated: Jan 5, 2024
CWE ID 918


CVE-2023-50731 is a critical vulnerability that affects MindsDB, a SQL Server for artificial intelligence. Specifically, versions prior to are vulnerable. The vulnerability lies in the "put" method in "mindsdb/mindsdb/api/http/namespaces/", which fails to validate the user-controlled name value used in a temporary file name. This allows for path injection, enabling an attacker to write arbitrary file contents outside of the intended directory. The temporary directory is deleted later in the method, but since the potentially dangerous files are written outside of it, they are not removed. The affected products include various versions of MindsDB (qsvSqS, qsvSo3, qsvSoz, etc.). The potential danger this vulnerability poses to an organization is significant as it allows for unauthorized access and manipulation of files on the server hosting MindsDB. To remediate this vulnerability, organizations should update their MindsDB installation to version or higher where the issue has been addressed.

Explore Beyond the CVE Basics with Recorded Future's Vulnerability Intelligence

Note: This is just a basic overview providing quick insights into CVE-2023-50731 information. Gain full access to comprehensive CVE data, risk scores, prioritization, and mitigation data through Recorded Future's Vulnerability Intelligence:
  • Prioritize with Risk-Based Scoring
  • Explore the Extensive Vulnerability Database
  • Receive Early Alerts on Emerging CVEs
  • Focus on Critical Exploitable Vulnerabilities
  • Streamline Remediation with Integration Options