PyPA Advisory Database
PYSEC-2026-2649
MindSQL is vulnerable to Code Injection through its ask_db function
Details
A vulnerability was found in Mindinventory MindSQL up to 0.2.1. Impacted is the function ask_db of the file mindsql/core/mindsql_core.py. Performing a manipulation results in code injection. The attack can be initiated remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | mindsql | All versions up to and including 0.2.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-4506
- https://github.com/Ka7arotto/cve/blob/main/MindSQL-RCE.md
- https://github.com/Mindinventory/MindSQL
- https://vuldb.com/?ctiid.352072
- https://vuldb.com/?id.352072
- https://vuldb.com/?submit.773898
- https://pypi.org/project/mindsql
- https://github.com/advisories/GHSA-m6m4-34cj-4hh7