CVE-2019-7164
published 2019-02-20CVE-2019-7164: SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.
PriorityP353critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.52%
87.9th percentile
SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.
Affected
24 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | sqlalchemy | < sqlalchemy 1.2.18+ds1-2 (bookworm) | sqlalchemy 1.2.18+ds1-2 (bookworm) |
| opensuse | backports_sle | — | — |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| oracle | communications_operations_monitor | — | — |
| oracle | communications_operations_monitor | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| sqlalchemy | sqlalchemy | <= 1.2.17 | — |
| sqlalchemy | sqlalchemy | — | — |
| sqlalchemy | sqlalchemy | >= 0 < 1.2.18+ds1-2 | 1.2.18+ds1-2 |
| sqlalchemy | sqlalchemy | >= 0 < 1.2.18+ds1-2 | 1.2.18+ds1-2 |
| sqlalchemy | sqlalchemy | >= 0 < 1.2.18+ds1-2 | 1.2.18+ds1-2 |
| sqlalchemy | sqlalchemy | >= 0 < 1.2.18+ds1-2 | 1.2.18+ds1-2 |
| sqlalchemy | sqlalchemy | >= 0 < 1.2.18 | 1.2.18 |
| sqlalchemy | sqlalchemy | >= 1.3.0b1 < 1.3.0b3 | 1.3.0b3 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_oracle9.8CRITICAL
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
SQLAlchemy vulnerable to SQL Injection via order_by parameter
osv·2019-04-16
CVE-2019-7164 [CRITICAL] SQLAlchemy vulnerable to SQL Injection via order_by parameter
SQLAlchemy vulnerable to SQL Injection via order_by parameter
SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.
GHSA
SQLAlchemy vulnerable to SQL Injection via order_by parameter
ghsa·2019-04-16
CVE-2019-7164 [CRITICAL] CWE-89 SQLAlchemy vulnerable to SQL Injection via order_by parameter
SQLAlchemy vulnerable to SQL Injection via order_by parameter
SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.
OSV
CVE-2019-7164: SQLAlchemy through 1
osv·2019-02-20·CVSS 9.8
CVE-2019-7164 [CRITICAL] CVE-2019-7164: SQLAlchemy through 1
SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.
Oracle
Oracle Oracle Communications Risk Matrix: ORMB DB Query in VSP (SQLAlchemy) — CVE-2019-7164
vendor_oracle·2021-01-15·CVSS 9.8
CVE-2019-7164 [CRITICAL] Oracle Oracle Communications Risk Matrix: ORMB DB Query in VSP (SQLAlchemy) — CVE-2019-7164
Oracle Oracle Communications Risk Matrix: ORMB DB Query in VSP (SQLAlchemy) vulnerability
CVE: CVE-2019-7164
CVSS: 9.8
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpujan2021 (JAN 2021)
Red Hat
python-sqlalchemy: SQL Injection when the order_by parameter can be controlled
vendor_redhat·2019-02-01·CVSS 9.8
CVE-2019-7164 [CRITICAL] python-sqlalchemy: SQL Injection when the order_by parameter can be controlled
python-sqlalchemy: SQL Injection when the order_by parameter can be controlled
SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.
Statement: This issue affects the version of python-sqlalchemy(bundled with calamari-server) shipped with Red Hat Ceph Storage 2, as it can be abused by SQL Injection.
Package: calamari-server (Red Hat Ceph Storage 2) - Will not fix
Package: python-sqlalchemy (Red Hat Enterprise Linux 6) - Will not fix
Package: python-sqlalchemy (Red Hat Enterprise Linux 7) - Will not fix
Package: python-sqlalchemy (Red Hat OpenStack Platform 10 (Newton)) - Affected
Package: python-sqlalchemy (Red Hat OpenStack Platform 13 (Queens)) - Affected
Package: python-sqlalchemy (Red Hat OpenStack Platform 14 (Rocky)) - Affected
Debian
CVE-2019-7164: sqlalchemy - SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the...
vendor_debian·2019·CVSS 9.8
CVE-2019-7164 [CRITICAL] CVE-2019-7164: sqlalchemy - SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the...
SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.
Scope: local
bookworm: resolved (fixed in 1.2.18+ds1-2)
bullseye: resolved (fixed in 1.2.18+ds1-2)
forky: resolved (fixed in 1.2.18+ds1-2)
sid: resolved (fixed in 1.2.18+ds1-2)
trixie: resolved (fixed in 1.2.18+ds1-2)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-7164 python-sqlalchemy: SQL Injection when the order_by parameter can be controlled
bugzilla·2019-02-19·CVSS 9.8
CVE-2019-7164 [CRITICAL] CVE-2019-7164 python-sqlalchemy: SQL Injection when the order_by parameter can be controlled
CVE-2019-7164 python-sqlalchemy: SQL Injection when the order_by parameter can be controlled
A vulnerability was found in SQLAlchemy 1.2.17. An SQL Injection when the order_by parameter can be controlled.
Upstream issue:
https://github.com/sqlalchemy/sqlalchemy/issues/4481
Upstream patch:
https://github.com/sqlalchemy/sqlalchemy/commit/30307c4616ad67c01ddae2e1e8e34fabf6028414
Discussion:
This flaw is related to CVE-2019-7548 (bug 1674059) and is fixed by the same upstream patch.
---
This issue has been rated Moderate because it is not common in SQLAlchemy backed applications for the order_by parameter to be populated by an externally-controlled string. The upstream issue has more discussion about safe use of group_by and order_by.
---
Created python-sqlalchemy tracking bugs for
Bugzilla
CVE-2019-7548 python-sqlalchemy: SQL Injection when the group_by parameter can be controlled
bugzilla·2019-02-08·CVSS 9.8
CVE-2019-7548 [CRITICAL] CVE-2019-7548 python-sqlalchemy: SQL Injection when the group_by parameter can be controlled
CVE-2019-7548 python-sqlalchemy: SQL Injection when the group_by parameter can be controlled
A vulnerability was found in SQLAlchemy 1.2.17. An SQL Injection when the group_by parameter can be controlled.
References:
https://github.com/no-security/sqlalchemy_test
Discussion:
Created python-sqlalchemy tracking bugs for this issue:
Affects: fedora-all [bug 1674060]
---
Red Hat OpenStack uses the python-sqlalchemy library and the versions provided contain the vulnerable code. However, the vulnerability is not exposed in a way that would be exploitable within a Red Hat OpenStack installation.
---
This flaw is related to CVE-2019-7164 (bug 1678520) and is fixed by the same upstream patch.
Upstream patch:
https://github.com/sqlalchemy/sqlalchemy/commit/30307c4616ad67c01ddae2e1e8e34fa
Bugzilla
CVE-2019-7164 CVE-2019-7548 python-sqlalchemy: various flaws [fedora-all]
bugzilla·2019-02-08·CVSS 9.8
CVE-2019-7164 [CRITICAL] CVE-2019-7164 CVE-2019-7548 python-sqlalchemy: various flaws [fedora-all]
CVE-2019-7164 CVE-2019-7548 python-sqlalchemy: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of
arXiv
ZeroDayBench: Evaluating LLM Agents on Unseen Zero-Day Vulnerabilities for Cyberdefense
arxiv_fulltext·2026-03-02
ZeroDayBench: Evaluating LLM Agents on Unseen Zero-Day Vulnerabilities for Cyberdefense
## Abstract
Large language models (LLMs) are increasingly being deployed as software engineering agents that autonomously contribute to repositories. A major benefit these agents present is their ability to find and patch security vulnerabilities in the codebases they oversee. To estimate the capability of agents in this domain, we introduce ZeroDayBench, a benchmark where LLM agents find and patch 22 novel critical vulnerabilities in open-source codebases. We focus our efforts on three popular frontier agentic LLMs: GPT-5.2, Claude Sonnet 4.5, and Grok 4.1. We find that frontier LLMs are not yet capable of autonomously solving our tasks and observe some behavioral patterns that suggest how these models can be improved in the domain of proactive cyberdefense.
## Introduction
Large langu
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00087.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00016.htmlhttps://access.redhat.com/errata/RHSA-2019:0981https://access.redhat.com/errata/RHSA-2019:0984https://github.com/sqlalchemy/sqlalchemy/issues/4481https://lists.debian.org/debian-lts-announce/2019/03/msg00020.htmlhttps://lists.debian.org/debian-lts-announce/2021/11/msg00005.htmlhttps://www.oracle.com/security-alerts/cpujan2021.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-08/msg00087.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00016.htmlhttps://access.redhat.com/errata/RHSA-2019:0981https://access.redhat.com/errata/RHSA-2019:0984https://github.com/sqlalchemy/sqlalchemy/issues/4481https://lists.debian.org/debian-lts-announce/2019/03/msg00020.htmlhttps://lists.debian.org/debian-lts-announce/2021/11/msg00005.htmlhttps://www.oracle.com/security-alerts/cpujan2021.html
2019-02-20
Published