SQL Injection Risk in SQLAdmin for SQLAlchemy Models by SmithyHQ
CVE-2026-54529
5.3MEDIUM
What is CVE-2026-54529?
The SQLAdmin interface for SQLAlchemy models contained a vulnerability that allowed unauthorized access to sensitive information through improperly handled sort queries. Prior to version 0.27.1, the ModelView.sort_query method failed to validate the sortBy parameter against a server-side allow-list, enabling attackers to manipulate the sorting of hidden and related-model columns. This flaw created an information exposure risk, as the order of rows could disclose unexposed values when combined with filters and paginations. The issue has been resolved in version 0.27.1, making it crucial for users to update their installations.
Affected Version(s)
sqladmin < 0.27.1
