Read the docs
TI-2020-08884 Aliases CVE-2020-11010GHSA-9j2c-x8qm-qmjq

SQL injection in Tortoise ORM

Priority MEDIUM 40CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

In Tortoise ORM before versions 0.15.23 and 0.16.6, various forms of SQL injection have been found for MySQL and when filtering or doing mass-updates on char/text fields. SQLite & PostgreSQL are only affected when filtering with contains, starts_with, or ends_with filters (and their case-insensitive counterparts).

Why it matters now

EPSS 0.01056 64th percentileScored 2026-11-07
Fix Fixed tortoise-orm (tortoise): 0.15.23, 0.16.6tortoise-orm (PyPI): 0.15.23, 0.16.6

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
tortoisetortoise-ormbefore 0.15.23; 0.16.0 to before 0.16.60.15.23, 0.16.6Patch availableCNA
—tortoise-orm (PyPI)before 0.15.230.15.23Patch availableGHSA-9j2c-x8qm-qmjq
—tortoise-orm (PyPI)0.16.0 to before 0.16.60.16.6Patch availableGHSA-9j2c-x8qm-qmjq
  • tortoise-orm Vendortortoise Affected before 0.15.23; 0.16.0 to before 0.16.6 Fixed in 0.15.23, 0.16.6 Patch available CNA
  • tortoise-orm (PyPI) Vendor— Affected before 0.15.23 Fixed in 0.15.23 Patch available GHSA-9j2c-x8qm-qmjq
  • tortoise-orm (PyPI) Vendor— Affected 0.16.0 to before 0.16.6 Fixed in 0.16.6 Patch available GHSA-9j2c-x8qm-qmjq

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:tortoise_orm_project:tortoise_orm:*:*:*:*:*:*:*:*before 0.15.23; 0.16.0 to before 0.16.6VulnerableTortoise Orm Project
  • cpe:2.3:a:tortoise_orm_project:tortoise_orm:*:*:*:*:*:*:*:* Versions before 0.15.23; 0.16.0 to before 0.16.6 Vulnerable ·Tortoise Orm Project

Remediation

  • Fix · CNA tortoise-orm (tortoise) Fixed in 0.15.23, 0.16.6
  • Fix · GHSA-9j2c-x8qm-qmjq tortoise-orm (PyPI) Fixed in 0.15.23 Advisory →
  • Fix · GHSA-9j2c-x8qm-qmjq tortoise-orm (PyPI) Fixed in 0.16.6 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-11010
  2. 2026-10-03 Alias added: GHSA-9j2c-x8qm-qmjq

References

Sources