SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.
CVE-2019-7164
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 1.9%, top 17% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EPSS
- 87.8%
- KEV
- Not listed
Published
February 20, 2019
Last Modified
November 21, 2024
Advisory Details (5)
Auto-updated May 26, 2026[SECURITY] [DLA 2811-1] sqlalchemy security update
https://lists.debian.org/debian-lts-announce/2021/11/msg00005.html[SECURITY] [DLA 1718-1] sqlalchemy security update
https://lists.debian.org/debian-lts-announce/2019/03/msg00020.htmlfully deprecate textual coercion in where(), filter(), order_by(), add docnotes not to pass untrusted input to thsee · Issue #4481 · sqlalchemy/sqlalchemy · GitHub
https://github.com/sqlalchemy/sqlalchemy/issues/4481Affected: Red Hat Enterprise Linux 8.
https://access.redhat.com/errata/RHSA-2019:0984Affected: Red Hat Enterprise Linux 8.
https://access.redhat.com/errata/RHSA-2019:0981Vendor Advisories for CVE-2019-7164(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Frequently asked(5)
What is CVE-2019-7164?
When was CVE-2019-7164 disclosed?
Is CVE-2019-7164 actively exploited?
What is the CVSS score of CVE-2019-7164?
How do I remediate CVE-2019-7164?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2019-7164
Is Your Infrastructure Affected by CVE-2019-7164?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.