CVE-2019-7164
Python packages · CVE-2019-7164
SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.496% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:27.005Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:21.485Z | OSV |
| affected | verified | 2026-11-19T12:55:20.949Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:20.949Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00020.html",
"name": "[debian-lts-announce] 20190318 [SECURITY] [DLA 1718-1] sqlalchemy security update",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0984",
"name": "RHSA-2019:0984",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
]
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0981",
"name": "RHSA-2019:0981",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
]
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00087.html",
"name": "openSUSE-SU-2019:2039",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00010.html",
"name": "openSUSE-SU-2019:2064",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00016.html",
"name": "openSUSE-SU-2019:2078",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpujan2021.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/sqlalchemy/sqlalchemy/issues/4481",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2021/11/msg00005.html",
"name": "[debian-lts-announce] 20211106 [SECURITY] [DLA 2811-1] sqlalchemy security update",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T20:38:33.439Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-887w-45rq-vxgf",
"aliases": [
"CVE-2019-7164",
"PYSEC-2019-123"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.3.0b3"
}
]
}
],
"package": {
"name": "sqlalchemy",
"purl": "pkg:pypi/sqlalchemy",
"ecosystem": "PyPI"
},
"versions": [
"0.1.0",
"0.1.1",
"0.1.2",
"0.1.3",
"0.1.4",
"0.1.5",
"0.1.6",
"0.1.7",
"0.2.0",
"0.2.1",
"0.2.2",
"0.2.3",
"0.2.4",
"0.2.5",
"0.2.6",
"0.2.7",
"0.2.8",
"0.3.0",
"0.3.1",
"0.3.10",
"0.3.11",
"0.3.2",
"0.3.3",
"0.3.4",
"0.3.5",
"0.3.6",
"0.3.7",
"0.3.8",
"0.3.9",
"0.4.0",
"0.4.0beta1",
"0.4.0beta2",
"0.4.0beta3",
"0.4.0beta4",
"0.4.0beta5",
"0.4.0beta6",
"0.4.1",
"0.4.2",
"0.4.2a",
"0.4.2b",
"0.4.3",
"0.4.4",
"0.4.5",
"0.4.6",
"0.4.7",
"0.4.8",
"0.5.0",
"0.5.0beta1",
"0.5.0beta2",
"0.5.0beta3",
"0.5.0rc1",
"0.5.0rc2",
"0.5.0rc3",
"0.5.0rc4",
"0.5.1",
"0.5.2",
"0.5.3",
"0.5.4",
"0.5.5",
"0.5.6",
"0.5.7",
"0.5.8",
"0.6.0",
"0.6.1",
"0.6.2",
"0.6.3",
"0.6.4",
"0.6.5",
"0.6.6",
"0.6.7",
"0.6.8",
"0.6.9",
"0.6beta1",
"0.6beta2",
"0.6beta3",
"0.7.0",
"0.7.1",
"0.7.10",
"0.7.2",
"0.7.3",
"0.7.4",
"0.7.5",
"0.7.6",
"0.7.7",
"0.7.8",
"0.7.9",
"0.8.0",
"0.8.0b2",
"0.8.1",
"0.8.2",
"0.8.3",
"0.8.4",
"0.8.5",
"0.8.6",
"0.8.7",
"0.9.0",
"0.9.1",
"0.9.10",
"0.9.2",
"0.9.3",
"0.9.4",
"0.9.5",
"0.9.6",
"0.9.7",
"0.9.8",
"0.9.9",
"1.0.0",
"1.0.0b1",
"1.0.0b2",
"1.0.0b3",
"1.0.0b4",
"1.0.0b5",
"1.0.1",
"1.0.10",
"1.0.11",
"1.0.12",
"1.0.13",
"1.0.14",
"1.0.15",
"1.0.16",
"1.0.17",
"1.0.18",
"1.0.19",
"1.0.2",
"1.0.3",
"1.0.4",
"1.0.5",
"1.0.6",
"1.0.7",
"1.0.8",
"1.0.9",
"1.1.0",
"1.1.0b1",
"1.1.0b2",
"1.1.0b3",
"1.1.1",
"1.1.10",
"1.1.11",
"1.1.12",
"1.1.13",
"1.1.14",
"1.1.15",
"1.1.16",
"1.1.17",
"1.1.18",
"1.1.2",
"1.1.3",
"1.1.4",
"1.1.5",
"1.1.6",
"1.1.7",
"1.1.8",
"1.1.9",
"1.2.0",
"1.2.0b1",
"1.2.0b2",
"1.2.0b3",
"1.2.1",
"1.2.10",
"1.2.11",
"1.2.12",
"1.2.13",
"1.2.14",
"1.2.15",
"1.2.16",
"1.2.17",
"1.2.18",
"1.2.19",
"1.2.2",
"1.2.3",
"1.2.4",
"1.2.5",
"1.2.6",
"1.2.7",
"1.2.8",
"1.2.9",
"1.3.0b1",
"1.3.0b2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/04/GHSA-887w-45rq-vxgf/GHSA-887w-45rq-vxgf.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-7164",
"type": "ADVISORY"
},
{
"url": "https://github.com/sqlalchemy/sqlalchemy/issues/4481",
"type": "WEB"
},
{
"url": "https://github.com/sqlalchemy/sqlalchemy/commit/30307c4616ad67c01ddae2e1e8e34fabf6028414",
"type": "WEB"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0981",
"type": "WEB"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0984",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-887w-45rq-vxgf",
"type": "ADVISORY"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/sqlalchemy/PYSEC-2019-123.yaml",
"type": "WEB"
},
{
"url": "https://github.com/sqlalchemy/sqlalchemy",
"type": "PACKAGE"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00020.html",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2021/11/msg00005.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpujan2021.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00087.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00010.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00016.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-89"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2019-02-20T00:29:00Z",
"github_reviewed_at": "2020-06-16T21:24:54Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2019-123",
"aliases": [
"CVE-2019-7164",
"GHSA-887w-45rq-vxgf"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.3.0b3"
}
]
}
],
"package": {
"name": "sqlalchemy",
"purl": "pkg:pypi/sqlalchemy",
"ecosystem": "PyPI"
},
"versions": [
"0.1.0",
"0.1.1",
"0.1.2",
"0.1.3",
"0.1.4",
"0.1.5",
"0.1.6",
"0.1.7",
"0.2.0",
"0.2.1",
"0.2.2",
"0.2.3",
"0.2.4",
"0.2.5",
"0.2.6",
"0.2.7",
"0.2.8",
"0.3.0",
"0.3.1",
"0.3.10",
"0.3.11",
"0.3.2",
"0.3.3",
"0.3.4",
"0.3.5",
"0.3.6",
"0.3.7",
"0.3.8",
"0.3.9",
"0.4.0",
"0.4.0beta1",
"0.4.0beta2",
"0.4.0beta3",
"0.4.0beta4",
"0.4.0beta5",
"0.4.0beta6",
"0.4.1",
"0.4.2",
"0.4.2a",
"0.4.2b",
"0.4.3",
"0.4.4",
"0.4.5",
"0.4.6",
"0.4.7",
"0.4.8",
"0.5.0",
"0.5.0beta1",
"0.5.0beta2",
"0.5.0beta3",
"0.5.0rc1",
"0.5.0rc2",
"0.5.0rc3",
"0.5.0rc4",
"0.5.1",
"0.5.2",
"0.5.3",
"0.5.4",
"0.5.5",
"0.5.6",
"0.5.7",
"0.5.8",
"0.6.0",
"0.6.1",
"0.6.2",
"0.6.3",
"0.6.4",
"0.6.5",
"0.6.6",
"0.6.7",
"0.6.8",
"0.6.9",
"0.6beta1",
"0.6beta2",
"0.6beta3",
"0.7.0",
"0.7.1",
"0.7.10",
"0.7.2",
"0.7.3",
"0.7.4",
"0.7.5",
"0.7.6",
"0.7.7",
"0.7.8",
"0.7.9",
"0.8.0",
"0.8.0b2",
"0.8.1",
"0.8.2",
"0.8.3",
"0.8.4",
"0.8.5",
"0.8.6",
"0.8.7",
"0.9.0",
"0.9.1",
"0.9.10",
"0.9.2",
"0.9.3",
"0.9.4",
"0.9.5",
"0.9.6",
"0.9.7",
"0.9.8",
"0.9.9",
"1.0.0",
"1.0.0b1",
"1.0.0b2",
"1.0.0b3",
"1.0.0b4",
"1.0.0b5",
"1.0.1",
"1.0.10",
"1.0.11",
"1.0.12",
"1.0.13",
"1.0.14",
"1.0.15",
"1.0.16",
"1.0.17",
"1.0.18",
"1.0.19",
"1.0.2",
"1.0.3",
"1.0.4",
"1.0.5",
"1.0.6",
"1.0.7",
"1.0.8",
"1.0.9",
"1.1.0",
"1.1.0b1",
"1.1.0b2",
"1.1.0b3",
"1.1.1",
"1.1.10",
"1.1.11",
"1.1.12",
"1.1.13",
"1.1.14",
"1.1.15",
"1.1.16",
"1.1.17",
"1.1.18",
"1.1.2",
"1.1.3",
"1.1.4",
"1.1.5",
"1.1.6",
"1.1.7",
"1.1.8",
"1.1.9",
"1.2.0",
"1.2.0b1",
"1.2.0b2",
"1.2.0b3",
"1.2.1",
"1.2.10",
"1.2.11",
"1.2.12",
"1.2.13",
"1.2.14",
"1.2.15",
"1.2.16",
"1.2.17",
"1.2.18",
"1.2.19",
"1.2.2",
"1.2.3",
"1.2.4",
"1.2.5",
"1.2.6",
"1.2.7",
"1.2.8",
"1.2.9",
"1.3.0b1",
"1.3.0b2"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/sqlalchemy/PYSEC-2019-123.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/sqlalchemy/sqlalchemy/issues/4481",
"type": "REPORT"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00020.html",
"type": "WEB"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0984",
"type": "ADVISORY"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0981",
"type": "ADVISORY"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00087.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00010.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00016.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpujan2021.html",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-887w-45rq-vxgf",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | sqlalchemy | Not a distribution channel | 1.3.0b3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:21.485ZArchived source JSON
Source publication: 2019-04-16T15:50:41.000Z
Source modification: 2026-06-09T18:41:13.000ZDocument fingerprint
137dab1a0ee7fa759ff1e43d77f50da983bbe3f644c3730f0143df8183a3eb47 - OSVConsulted: 2026-11-19T12:52:21.485ZArchived source JSON
Source publication: 2019-02-20T00:29:00.000Z
Source modification: 2026-06-09T17:00:05.645ZDocument fingerprint
137dab1a0ee7fa759ff1e43d77f50da983bbe3f644c3730f0143df8183a3eb47 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:20.949ZArchived source JSON
Source publication: 2019-02-20T00:00:00.000Z
Source modification: 2024-08-04T20:38:33.439ZDocument fingerprint
cd4a0437a5c3ee8ba803a94095045f1c2cb03a287078c9ef3978029c69d30745 - FIRST EPSSConsulted: 2026-11-19T16:04:27.005ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
858db2c83df2d905ad48c2bac0706aac41b0e6986caf78680945042c2b623f2c
Official status history
- UNKNOWN → PUBLISHED · · evidence