CVE-2026-54529 json
SQLAdmin: Unvalidated sortBy parameter in `ModelView` bypasses `column_sortable_list`
published 2026-09-09 1 mo ago modified 2026-09-30 39 d ago also GHSA-ccg5-9c8w-xh6v , PYSEC-2026-3922 , EUVD-2026-77581
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi sqladmin 0.27.1
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 55 d ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | sqladmin | <0.27.1 |
0.27.1 |
Affected products
- smithyhq sqladmin
Classification
References
- github.com /smithyhq/sqladmin/commit/741635f18f93c020bfe355167ab257da9a6ca99a
-
github.com
/smithyhq/sqladmin/security/advisories/GHSA-ccg5-9c8w-xh6v
web
-
github.com
/smithyhq/sqladmin/releases/tag/0.27.1
web
-
github.com
/smithyhq/sqladmin
package
-
pypi.org
/project/sqladmin
package
-
github.com
/advisories/GHSA-ccg5-9c8w-xh6v
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-54529
advisory
Sources
- CVE List CVE-2026-54529
- GitHub Advisory GHSA-ccg5-9c8w-xh6v
- NVD CVE-2026-54529
- OSV PYSEC-2026-3922
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.