# CVE-2026-4506: Mindinventory MindSQL mindsql_core.py ask_db code injection

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-20T22:02:10.070Z
- Modified: 2026-07-13T16:43:02.293Z
- Also known as: GHSA-m6m4-34cj-4hh7, PYSEC-2026-2649
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- Mindinventory MindSQL: 0.2.0; 0.2.1
- mindsql (PyPI): up to 0.2.1

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- GitHub: CVSS:3.1 6.3 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `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`
- PyPA Advisory Database: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/Ka7arotto/cve/blob/main/MindSQL-RCE.md> (exploit, web)
- <https://vuldb.com/?id.352072> (technical-description, vdb-entry, web)
- <https://vuldb.com/?ctiid.352072> (permissions-required, signature, web)
- <https://vuldb.com/?submit.773898> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-4506> (advisory)
- <https://github.com/Mindinventory/MindSQL> (package)
- <https://pypi.org/project/mindsql> (package)
- <https://github.com/advisories/GHSA-m6m4-34cj-4hh7> (advisory)

## Sources

- CVE List: [CVE-2026-4506](https://www.cve.org/CVERecord?id=CVE-2026-4506), CVE Terms of Use, modified 2026-03-23
- GitHub Advisory Database: [GHSA-m6m4-34cj-4hh7](https://github.com/advisories/GHSA-m6m4-34cj-4hh7), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-4506](https://nvd.nist.gov/vuln/detail/CVE-2026-4506), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2649](https://osv.dev/vulnerability/PYSEC-2026-2649), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-4506 · Whole record: https://cve.day/CVE-2026-4506.json · Rebuilt by cve.day 2026-11-25T22:59:16.348Z
