# CVE-2020-11010: SQL injection in Tortoise ORM

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.06%, higher than 65% of CVEs (2026-12-01)
- Published: 2020-04-20T21:31:23.000Z
- Modified: 2026-09-10T03:48:43.972Z
- Also known as: GHSA-9j2c-x8qm-qmjq, PYSEC-2020-144
- Weaknesses: CWE-89
- Assigned by: GitHub_M

## Description

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).

(As written by CVE List.)

## Affected

- tortoise tortoise-orm: < 0.15.23; >= 0.16.0, < 0.16.6
- tortoise-orm (PyPI): before 0.15.23; from 0.16.0 before 0.16.6; before 91c364053e0ddf77edc5442914c6f049512678b3
- tortoise_orm_project tortoise_orm: before 0.15.23; from 0.16.0 before 0.16.6

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/tortoise/tortoise-orm/security/advisories/GHSA-9j2c-x8qm-qmjq> (advisory, third-party-advisory, web)
- <https://github.com/tortoise/tortoise-orm/commit/91c364053e0ddf77edc5442914c6f049512678b3> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-11010> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tortoise-orm/PYSEC-2020-144.yaml> (web)
- <https://github.com/tortoise/tortoise-orm> (package)

## Sources

- CVE List: [CVE-2020-11010](https://www.cve.org/CVERecord?id=CVE-2020-11010), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-9j2c-x8qm-qmjq](https://github.com/advisories/GHSA-9j2c-x8qm-qmjq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-11010](https://nvd.nist.gov/vuln/detail/CVE-2020-11010), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-144](https://osv.dev/vulnerability/PYSEC-2020-144), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2020-11010 · Whole record: https://cve.day/CVE-2020-11010.json · Rebuilt by cve.day 2026-11-25T22:57:52.129Z
