Is sqlalchemy 0.4 vulnerable?
PyPI · 9 releases from 0.4.0 to 0.4.8 · latest sqlalchemy is 2.1.9 · checked 18 Nov 2026
Yes: 3 known advisories
Yes. sqlalchemy 0.4.8, the last 0.4 release, is affected by 3 known security advisories (3 critical), including CVE-2012-0805, CVE-2019-7164, CVE-2019-7548. Upgrade to 1.3.0b3 or later to fix all of them.
pip install 'sqlalchemy>=1.3.0b3'Is your project on an affected sqlalchemy?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting sqlalchemy 0.4.8
SQLAlchemy vulnerable to SQL injection
- Affected
- <0.7.0b4
- Fixed in
- 0.7.0b4
SQLAlchemy vulnerable to SQL Injection via order_by parameter
- Affected
- <1.3.0b3
- Fixed in
- 1.3.0b3
SQLAlchemy is vulnerable to SQL Injection via group_by parameter
- Affected
- <1.2.19
- Fixed in
- 1.2.19
Every sqlalchemy 0.4.x release
Affected: 0.4.0 to 0.4.8. Latest sqlalchemy: 2.1.9.
| Version | Known advisories |
|---|---|
| sqlalchemy 0.4.8 | CVE-2012-0805, CVE-2019-7164, CVE-2019-7548 |
| sqlalchemy 0.4.7 | CVE-2012-0805, CVE-2019-7164, CVE-2019-7548 |
| sqlalchemy 0.4.6 | CVE-2012-0805, CVE-2019-7164, CVE-2019-7548 |
| sqlalchemy 0.4.5 | CVE-2012-0805, CVE-2019-7164, CVE-2019-7548 |
| sqlalchemy 0.4.4 | CVE-2012-0805, CVE-2019-7164, CVE-2019-7548 |
| sqlalchemy 0.4.3 | CVE-2012-0805, CVE-2019-7164, CVE-2019-7548 |
| sqlalchemy 0.4.2 | CVE-2012-0805, CVE-2019-7164, CVE-2019-7548 |
| sqlalchemy 0.4.1 | CVE-2012-0805, CVE-2019-7164, CVE-2019-7548 |
| sqlalchemy 0.4.0 | CVE-2012-0805, CVE-2019-7164, CVE-2019-7548 |
Which of your client projects are still on sqlalchemy 0.4?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact sqlalchemy version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other sqlalchemy versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.