CVE-2020-11010
Python vulnerability analysis and mitigation

Overview

CVE-2020-11010 is a SQL injection vulnerability discovered in the Tortoise ORM Python package affecting versions <0.15.23 and 0.16.0-0.16.5. The vulnerability was disclosed on April 18, 2020, and impacts the package's handling of character/text fields in MySQL, SQLite, and PostgreSQL databases (GitHub Advisory).

Technical details

The vulnerability exists in the SQL query generation when using filtering operations or performing mass-updates on char/text fields. For MySQL databases, the issue affects general filtering and mass-update operations. For SQLite and PostgreSQL, the vulnerability specifically manifests when using contains, starts_with, ends_with filters and their case-insensitive counterparts. The issue stems from improper escaping of special characters in SQL queries (GitHub Advisory).

Impact

If exploited, this vulnerability could allow attackers to perform SQL injection attacks against applications using the affected versions of Tortoise ORM. This could potentially lead to unauthorized database access, data manipulation, or information disclosure (GitHub Advisory).

Exploitability

The vulnerability can be triggered when using character/text field operations in database queries. It affects both regular queries and case-insensitive operations, particularly in filtering and mass-update scenarios (GitHub Advisory).

Mitigation and workarounds

Users are advised to upgrade to version 0.15.23 or 0.16.6 and above, which contain patches for these SQL injection vulnerabilities. The fix includes proper escaping of special characters and improved handling of SQL query generation (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-55209CRITICAL9.8
  • Python logoPython
  • resdata
NoYesSep 14, 2026
CVE-2026-73496HIGH7.7
  • Python logoPython
  • mcp-atlassian
NoYesSep 14, 2026
CVE-2026-54559MEDIUM6.9
  • Python logoPython
  • pocketsphinx
NoYesSep 14, 2026
CVE-2026-73497MEDIUM6.5
  • Python logoPython
  • mcp-atlassian
NoYesSep 14, 2026
CVE-2026-55244MEDIUM5
  • Python logoPython
  • asteval
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management