CVE-2019-7548
SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled.
CVE-2019-7548 is an SQL injection in PyPI SQLAlchemy (CVSS 7.8, High).
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 1.2.19.
Public exploit: 1 sourceFix1.2.19Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.852681
What to do
Find your product and version, then upgrade to the build on the right.
- PyPI SQLAlchemyAffected: < 1.2.19Upgrade to: 1.2.19Stated by: GitHub advisory
- Red Hat Inc. Red Hat Enterprise LinuxAffected: 8Upgrade to: not statedStated by: BDU
- Novell Inc. OpenSUSE LeapAffected: 15.0Upgrade to: not statedStated by: BDU
- Open-source community Debian GNU/LinuxAffected: 8Upgrade to: not statedStated by: BDU
- Red Hat Inc. Red Hat OpenStack PlatformAffected: 10Upgrade to: not statedStated by: BDU
Versions as the sources state them. 5 more products have version data. Full version matrix after sign-in
What it is
From the CVE record
SQLAlchemy is vulnerable to SQL Injection via group_by parameter
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
1.8% chance of exploitation activity in the next 30 days, which ranks it in the 79th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 471 days before any public exploit.
- OpenVAS check added
- Public exploit / PoCsource: github-poc
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 9 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored 7.8 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
Sources
References in the record
- nvd.nist.gov/vuln/detail/CVE-2019-7548
- github.com/sqlalchemy/sqlalchemy/issues/4481
- github.com/sqlalchemy/sqlalchemy/issues/4510
And 14 more references. See all after sign-in
Questions about CVE-2019-7548
- Is CVE-2019-7548 being exploited?
- Not confirmed. Public exploit code exists (1 source), but CVE-2019-7548 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 1.8%.
- Which versions are affected by CVE-2019-7548?
- SQLAlchemy: < 1.2.19. Red Hat Enterprise Linux: 8. OpenSUSE Leap: 15.0. 7 more products are listed in the record.
- How do I fix or mitigate CVE-2019-7548?
- Upgrade to 1.2.19 or later. The advisory is on access.redhat.com.
Last updated
Related articles
All articles- F5's BIG-IP Zero-Day Only Fires If You Flipped One OAuth Setting. CISA KEV'd It Alongside Three Other Edge Appliances the Same Day.
- Cisco's rack-server controller sat below the OS — CVE-2026-20200 turns a "download my SSH key" button into root, with a public PoC already out
- Meet OWAReaper: The Grim Reaper's Evil Twin That Survives Your Incident Response
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for SQLAlchemy, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI