Live threats

All CVEs / Sqlalchemy

CVE-2019-7164Sqlalchemy

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
3.5%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Feb 20, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sqlalchemy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI sqlalchemy < 1.3.0b3 1.3.0b3 pip install "sqlalchemy>=1.3.0b3"
PyPI sqlalchemy < 1.3.0b3 1.3.0b3 pip install "sqlalchemy>=1.3.0b3"

Per OSV / GitHub Advisories (GHSA-887w-45rq-vxgf, PYSEC-2019-123). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sqlalchemysqlalchemy≤ 1.2.17
sqlalchemysqlalchemy1.3.0
sqlalchemysqlalchemy1.3.0
debiandebian_linux8.0
debiandebian_linux9.0
opensusebackports_sle15.0
opensuseleap15.0
opensuseleap15.1
redhatenterprise_linux8.0
redhatenterprise_linux_eus8.1
redhatenterprise_linux_eus8.2
redhatenterprise_linux_eus8.4
redhatenterprise_linux_server_aus8.2
redhatenterprise_linux_server_aus8.4
redhatenterprise_linux_server_tus8.2
redhatenterprise_linux_server_tus8.4
oraclecommunications_operations_monitor4.2
oraclecommunications_operations_monitor4.3

Official sources

References

Links published by the sources. Open them with care.