Intel

AIKIDO-2026-10818

PyMySQL is vulnerable to Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 15, 2026

70

High Risk

This Affects:

PYTHONPyMySQL
0.0.1 - 1.1.2
Fixed in 1.1.3
Are you affected? Scan for Free

TL;DR

Affected versions allow SQL injection through Cursor.callproc() when untrusted input is used as the procedure name. An attacker can supply a crafted procedure identifier to manipulate the generated SQL query and execute unintended database commands.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

PyMySQL is vulnerable to Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in versions 0.0.1 - 1.1.2.

How to fix this

Upgrade the PyMySQL library to the patch version.