Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
7DescriptionCVE.org
A vulnerability was determined in Mindinventory MindSQL up to 0.2.1. The affected element is the function ask_db of the file mindsql/core/mindsql_core.py. Executing a manipulation can lead to sql injection. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
AnalysisAI
SQL injection in Mindinventory MindSQL versions up to 0.2.1 allows authenticated remote attackers to execute arbitrary SQL commands through the ask_db function. Public exploit code exists for this vulnerability, and the vendor has not provided a patch or responded to disclosure attempts. Attackers with valid credentials can manipulate database queries to access, modify, or delete sensitive data.
Technical ContextAI
MindSQL is a text-to-SQL conversion library developed by Mindinventory that translates natural language queries into SQL statements. The vulnerability resides in the ask_db function, which fails to properly sanitize user-supplied input before incorporating it into SQL queries, violating the principles defined in CWE-89 (SQL Injection). This is a classic input validation flaw where user-controlled data reaches a SQL query constructor without adequate parameterization or escaping. The affected component (cpe:2.3:a:mindinventory:mindsql) processes user input through a language model interface that generates SQL, creating a critical trust boundary where the generated SQL is not validated before execution. The root cause is insufficient input validation at the boundary between user input and database query construction.
RemediationAI
Upgrade MindSQL to a version released after 0.2.1 that contains the SQL injection fix; check the official Mindinventory MindSQL GitHub repository for the latest patched release. If upgrading is not immediately possible, implement the following compensating controls: enforce strict input validation and parameterized queries at the application layer above MindSQL, restrict database user permissions to the minimum required (apply principle of least privilege for the service account), isolate MindSQL instances to trusted network segments only and disable remote access where feasible, implement database query auditing and alerting for suspicious SQL patterns, and consider running MindSQL in a sandboxed environment with restricted database permissions. Monitor https://vuldb.com/?submit.773899 and the vendor's official channels for patch release announcements.
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-13833
GHSA-w7qc-r6gf-85jh