Advisory

PYSEC-2026-2649

Also known as: CVE-2026-4506, GHSA-m6m4-34cj-4hh7

Summary

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.

Severity

Medium Basis: CVSS v3 score 6.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2026-07-13 14:36 UTC
Modified
2026-07-13 16:31 UTC

Affected packages and fixes

mindsql

PyPI · All systems

Affected

  • introduced 0, last affected 0.2.1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences