Live threats

All CVEs / Sqlalchemy

CVE-2012-0805Sqlalchemy

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
2.8%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Jun 5, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

Multiple SQL injection vulnerabilities in SQLAlchemy before 0.7.0b4, as used in Keystone, allow remote attackers to execute arbitrary SQL commands via the (1) limit or (2) offset keyword to the select function, or unspecified vectors to the (3) select.limit or (4) select.offset function.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sqlalchemy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI sqlalchemy < 0.7.0b4 0.7.0b4 pip install "sqlalchemy>=0.7.0b4"
PyPI sqlalchemy < 0.7.0 0.7.0 pip install "sqlalchemy>=0.7.0"

Per OSV / GitHub Advisories (GHSA-hfg2-wf6j-x53p, PYSEC-2012-9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sqlalchemysqlalchemy≤ 0.7.0
sqlalchemysqlalchemy0.6.0
sqlalchemysqlalchemy0.6.0
sqlalchemysqlalchemy0.6.0
sqlalchemysqlalchemy0.6.0
sqlalchemysqlalchemy0.6.1
sqlalchemysqlalchemy0.6.2
sqlalchemysqlalchemy0.6.3
sqlalchemysqlalchemy0.6.4
sqlalchemysqlalchemy0.6.5
sqlalchemysqlalchemy0.6.6
sqlalchemysqlalchemy0.6.7
sqlalchemysqlalchemy0.7.0
sqlalchemysqlalchemy0.7.0

Official sources

References

Links published by the sources. Open them with care.