CVE-2019-7548
HIGH 7.8CVSS 3.1SQLAlchemy is vulnerable to SQL Injection via group_by parameter
SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled.
- Published
- 6 Feb 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-38fc-9xqv-7f7qPYSEC-2019-124
- Sources
- NVDJSONOSV GHSA-38fc-9xqv-7f7qJSONOSV PYSEC-2019-124JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sqlalchemy | sqlalchemycpe:2.3:a:sqlalchemy:sqlalchemy:1.2.17:*:*:*:*:*:*:* |
= 1.2.17 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | opensuse | backports_slecpe:2.3:a:opensuse:backports_sle:15.0:-:*:*:*:*:*:* |
= 15.0 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* |
= 15.0 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* |
= 15.1 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:* |
= 8.1 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:* |
= 8.2 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:* |
= 8.4 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:8.2:*:*:*:*:*:*:* |
= 8.2 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:8.4:*:*:*:*:*:*:* |
= 8.4 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:8.2:*:*:*:*:*:*:* |
= 8.2 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:8.4:*:*:*:*:*:*:* |
= 8.4 | |
| NVD | oracle | communications_operations_monitorcpe:2.3:a:oracle:communications_operations_monitor:4.2:*:*:*:*:*:*:* |
= 4.2 | |
| NVD | oracle | communications_operations_monitorcpe:2.3:a:oracle:communications_operations_monitor:4.3:*:*:*:*:*:*:* |
= 4.3 | |
| OSV | PyPI | sqlalchemy | < 1.2.19 | 1.2.19 |
| OSV | PyPI | sqlalchemy | < 1.2.18 | 1.2.18 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00087.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00010.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00016.html · Mailing List, Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2019:0981 · Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2019:0984 · Third Party Advisory, WEB, ADVISORY
- https://github.com/no-security/sqlalchemy_test · Exploit, Third Party Advisory, WEB
- https://github.com/sqlalchemy/sqlalchemy/issues/4481#issuecomment-461204518 · Patch, Third Party Advisory, WEB, REPORT
- https://lists.debian.org/debian-lts-announce/2019/03/msg00020.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/11/msg00005.html · Mailing List, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujan2021.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-7548 · ADVISORY
- https://github.com/sqlalchemy/sqlalchemy/issues/4510 · WEB
- https://github.com/advisories/GHSA-38fc-9xqv-7f7q · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/sqlalchemy/PYSEC-2019-124.yaml · WEB
- https://github.com/sqlalchemy/sqlalchemy · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 6 Feb 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Feb 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Apr 2019)