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.

VersionKnown vulnerabilities
2.1.5latestOct 16, 2026No known vulnerabilities
2.0.55Oct 16, 2026No known vulnerabilities
2.1.4Oct 7, 2026No known vulnerabilities
2.1.3Oct 3, 2026No known vulnerabilities
2.1.2Oct 2, 2026No known vulnerabilities
2.1.1Sep 25, 2026No known vulnerabilities
2.1.0Sep 24, 2026No known vulnerabilities
2.0.54Sep 15, 2026No known vulnerabilities
2.0.53Sep 14, 2026No known vulnerabilities
2.0.52Aug 11, 2026No known vulnerabilities

Release lines

The newest release of each minor line, from the registry. SQLAlchemy doesn’t publish support dates we can check.

LineNewest releaseReleased
2.12.1.5Oct 16, 2026
2.02.0.55Oct 16, 2026
1.41.4.54Sep 5, 2024
1.31.3.24Mar 30, 2021
1.21.2.19Apr 15, 2019
1.11.1.18Mar 6, 2018

Newest advisories

The 3 most recently published, with the versions each one affects.

  1. 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.

  2. 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.

  3. 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.

Check your whole repo

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.