
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-4506 is a code injection vulnerability affecting the ask_db function in mindsql/core/mindsql_core.py of Mindinventory MindSQL versions up to and including 0.2.1. The flaw allows remote attackers with low-privilege access to inject and execute arbitrary code by manipulating input passed to the affected function. It was published on March 20, 2026, and assigned by VulDB. The vendor was contacted prior to disclosure but did not respond. The vulnerability carries a CVSS v3.1 base score of 6.3 (Medium) and a CVSS v4.0 base score of 5.3 (Medium) (VulDB, ENISA EUVD).
The vulnerability is classified under CWE-94 (Improper Control of Generation of Code / Code Injection) and CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component). The ask_db function in mindsql/core/mindsql_core.py fails to properly sanitize or validate user-supplied input before incorporating it into code execution logic, enabling an attacker to inject malicious code. Exploitation requires only low-level privileges and no user interaction, and can be performed remotely over the network with low attack complexity. A public proof-of-concept exploit has been published (GitHub PoC, VulDB).
Successful exploitation allows a remote, low-privileged attacker to execute arbitrary code within the context of the MindSQL application, resulting in low-level impacts to confidentiality, integrity, and availability of the affected system. An attacker could potentially read sensitive data processed by the application (such as database query results or credentials), modify application behavior, or disrupt service availability. Depending on the deployment environment and privilege context of the running process, further lateral movement or privilege escalation may be possible.
A public proof-of-concept exploit has been published on GitHub, making this vulnerability accessible to a broad range of threat actors (GitHub PoC). The CVSS v4.0 exploit maturity is rated as "Proof of Concept." The EPSS score is approximately 0.041%, indicating a currently low but non-negligible probability of exploitation in the wild. No threat actor attribution or CISA KEV catalog listing has been identified at this time (ENISA EUVD, VulDB).
mindsql Python package.ask_db function in mindsql/core/mindsql_core.py. This may involve embedding Python expressions or OS commands within a natural language or SQL query string passed to the function.ask_db, either via the application's API or user interface.ask_db function in application logs; Python tracebacks or eval/exec-related errors in server logs.sh, bash, curl, wget, or other system utilities).No vendor patch has been released as of the disclosure date, as the vendor did not respond to the researcher's contact attempts. Users should consider removing or isolating MindSQL versions ≤ 0.2.1 from internet-accessible environments until a fix is available. As a workaround, restrict access to the MindSQL application to trusted, authenticated users only, enforce network-level controls to limit exposure, and monitor application logs for anomalous query activity. Organizations should monitor the MindSQL GitHub repository and PyPI package page for any updated releases (VulDB, ENISA EUVD).
The vulnerability was reported by an independent researcher (Ka7arotto) who published a proof-of-concept on GitHub after the vendor failed to respond to disclosure attempts, indicating a lack of coordinated disclosure. Coverage has been limited to automated vulnerability tracking platforms such as VulDB, ENISA EUVD, and GitLab Advisories, with no notable vendor statements or significant community discussion identified (VulDB, GitLab Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."