PyPI package
SQLAlchemy vulnerabilities by version
The latest release, 2.1.5 (Oct 16, 2026), has no known vulnerabilities. 0 of the 10 most recent releases have known vulnerabilities. OSV.dev lists 3 advisories for SQLAlchemy; the newest was published on May 14, 2022.
PyPI (opens in a new tab) describes it as “Database Abstraction Library”
- Latest release
- 2.1.5
- Oct 16, 2026, no known vulnerabilities
- Downloads last week
- 86.3M
- All versions, from pypistats.org
- Advisories on OSV.dev
- 3
- Newest May 14, 2022
- Licence
- MIT
Recent releases
PyPI doesn’t publish downloads per version, so these are the newest releases, each checked against OSV.dev. Open a version for its advisories and what to upgrade to.
Release lines
The newest release of each minor line, from the registry. SQLAlchemy doesn’t publish support dates we can check.
Newest advisories
The 3 most recently published, with the versions each one affects.
CriticalCVE-2012-0805 on OSV.dev (opens in a new tab)GHSA-hfg2-wf6j-x53p
SQLAlchemy vulnerable to SQL injection
Affects < 0.7.0b4. Published May 14, 2022.
CriticalCVE-2019-7164 on OSV.dev (opens in a new tab)GHSA-887w-45rq-vxgf
SQLAlchemy vulnerable to SQL Injection via order_by parameter
Affects < 1.3.0b3. Published Apr 16, 2019.
CriticalCVE-2019-7548 on OSV.dev (opens in a new tab)GHSA-38fc-9xqv-7f7q
SQLAlchemy is vulnerable to SQL Injection via group_by parameter
Affects < 1.2.19. Published Apr 16, 2019.
Which SQLAlchemy do you have?
Paste a public GitHub repo or drop your requirements.txt or pyproject.toml and see every vulnerable, end-of-life or deprecated dependency, with one fix task for your coding agent. Free, no sign-up.
How this page is checked
StackPrism reads every OSV.dev advisory for SQLAlchemy, merges duplicates filed under several ids, and asks OSV.dev which ones affect each version listed. Releases and their dates come from deps.dev, downloads from pypistats.org. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against OSV.dev, CISA KEV, PyPI, pypistats.org and deps.dev.