Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54529— SQLAdmin: Unvalidated sortBy parameter in `ModelView` bypasses `column_sortable_list`

Quick assessment

Affected
smithyhq sqladmin
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SQLAdmin 是 SQLAlchemy 模型的一个灵活的管理界面。在 0.27.1 版本之前, 中的 接受由攻击者控制的 列表视图查询参数,但并未在服务端强制应用 中配置的 允许列表。该参数值通过 解析,并传递给关系连接(relationship joins)和 ,使得请求能够按照那些未显示在 中的列,以及通过点号路径(dotted paths)指定的关联模型列进行排序。由此产生的行顺序构成了一个“信息泄露预言机”(information-exposure oracle),通过反转升序和降序顺序可以确认未公开值

CVSS 5.3 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54529

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SQLAdmin: Unvalidated sortBy parameter in `ModelView` bypasses `column_sortable_list`
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
smithyhq sqladmin < 0.27.1 -

II. Public POCs for CVE-2026-54529

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54529

登录查看更多情报信息。

Patches & Fixes for CVE-2026-54529 (1)

Vendor Advisories for CVE-2026-54529 (1)

Vendor Pages for CVE-2026-54529 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-54529

No comments yet


Leave a comment