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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| tortoise | tortoise-orm | before 0.15.23; 0.16.0 to before 0.16.6 | 0.15.23, 0.16.6 | Patch available | CNA |
| — | tortoise-orm (PyPI) | before 0.15.23 | 0.15.23 | Patch available | GHSA-9j2c-x8qm-qmjq |
| — | tortoise-orm (PyPI) | 0.16.0 to before 0.16.6 | 0.16.6 | Patch available | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:tortoise_orm_project:tortoise_orm:*:*:*:*:*:*:*:* | before 0.15.23; 0.16.0 to before 0.16.6 | Vulnerable | Tortoise 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
- 2026-10-02 Threatist record created from CVE-2020-11010
- 2026-10-03 Alias added: GHSA-9j2c-x8qm-qmjq
References
Advisory 2
Sources
- CVE-2020-11010 · CVE Program
- CVE-2020-11010 · NVD
- FIRST EPSS
- GHSA-9j2c-x8qm-qmjq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences