SQLAlchemy vulnerable to SQL Injection via order_by parameter
Critical severity
GitHub Reviewed
Published
Apr 16, 2019
to the GitHub Advisory Database
•
Updated Apr 24, 2026
Description
Published by the National Vulnerability Database
Feb 20, 2019
Published to the GitHub Advisory Database
Apr 16, 2019
Reviewed
Jun 16, 2020
Last updated
Apr 24, 2026
SQLAlchemy before 1.3.0b3 allows SQL Injection via the order_by parameter. The fix (commit 30307c4) was applied only to the main branch and was never backported to the 1.2.x release line; all 1.2.x versions remain vulnerable.
References