CVE-2026-4507 Mindinventory MindSQL mindsql_core.py ask_db sql injection
Remote attackers can exploit SQL injection in MindSQL's ask_db function to read or modify database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-4507?
CVE-2026-4507 is a medium-severity SQL injection vulnerability in Mindinventory MindSQL, published on 20 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2026-4507?
How do I fix CVE-2026-4507?
No fix has been published for CVE-2026-4507 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-4507 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4507 exists.
Sources
Also known as GHSA-w7qc-r6gf-85jh.