๐Ÿ” CVE Alert

CVE-2026-54529

MEDIUM 5.3

SQLAdmin: Unvalidated sortBy parameter in `ModelView` bypasses `column_sortable_list`

CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th

SQLAdmin is a flexible Admin interface for SQLAlchemy models. Prior to 0.27.1, ModelView.sort_query in sqladmin/models.py accepts the attacker-controlled sortBy list-view query parameter without enforcing the configured column_sortable_list server-side allow-list in self._sort_fields. The value is resolved with getattr and passed to relationship joins and order_by, allowing requests to sort by columns hidden from column_list and by related-model columns through dotted paths. The resulting row order forms an information-exposure oracle for unexposed values, and reversing ascending and descending order confirms their relative ordering. Pairing sortBy with searchable or filterable columns and pagination can narrow the oracle toward specific values, but exact recovery depends on the application's available fields and data. This issue is fixed in version 0.27.1.

CWE CWE-20 CWE-200 CWE-248 CWE-639
Vendor smithyhq
Product sqladmin
Published Sep 14, 2026
Last Updated Sep 14, 2026
Stay Ahead of the Next One

Get instant alerts for smithyhq sqladmin

Be the first to know when new medium vulnerabilities affecting smithyhq sqladmin are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Affected Versions

smithyhq / sqladmin
< 0.27.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/smithyhq/sqladmin/security/advisories/GHSA-ccg5-9c8w-xh6v github.com: https://github.com/smithyhq/sqladmin/commit/741635f18f93c020bfe355167ab257da9a6ca99a github.com: https://github.com/smithyhq/sqladmin/releases/tag/0.27.1