CVE-2026-54529
published medium CVSS 3.1 · 5.3SQLAdmin: Unvalidated sortBy parameter in `ModelView` bypasses `column_sortable_list`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| smithyhq | — | sqladmin< 0.27.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| smithyhq | sqladmin | < 0.27.1 (affected) | GitHub_M · cna |
Weaknesses
4- CWE-20 CWE-20: Improper Input Validation
- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-248 CWE-248: Uncaught Exception
- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
References
3Provider assertions
2GitHub_M · cna
SQLAdmin: Unvalidated sortBy parameter in `ModelView` bypasses `column_sortable_list`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c208d89923bc413d9f661c854d498f4dd659b16d5518e2312e06029d1815a78c
- Ingested
- 23 Sep 2026, 09:20:18 UTC
- Source record
- Official CVE record