CVE-2025-65896 asyncmy is vulnerable to SQL injection via crafted dict keys

Critical 9.8 Published Updated

Attackers can execute arbitrary SQL commands via crafted dictionary keys in the asyncmy library, potentially compromising database integrity and confidentiality.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-65896?

CVE-2025-65896 is a critical SQL injection vulnerability in n/a, published on 2 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SQL injection vulnerability in long2ice assyncmy thru 0.2.10 allows attackers to execute arbitrary SQL commands via crafted dict keys.

Weakness: CWE-89

Which versions are affected by CVE-2025-65896?

3 open source packages ship an affected version, including asyncmy. It affects 1 product.

PackageAffectedFixed in
asyncmy PyPIAll versions to 0.2.11None
asyncmy PyPIAll versions to 0.2.11None
asyncmy PyPIAll versions to 0.2.11None

Products include Long2ice Asyncmy.

How do I fix CVE-2025-65896?

No fix has been published for CVE-2025-65896 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-2025-65896 being exploited?

There is no known exploitation of CVE-2025-65896 in the wild and no public exploit code.

Sources

Also known as GHSA-qhqw-rrw9-25rm, PYSEC-2026-286.

Is CVE-2025-65896 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free