PT-2026-89205 · Pypi · Sqladmin

CVE-2026-54529

·

Published

2026-09-09

·

Updated

2026-09-10

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Summary

ModelView.sort query() uses the attacker-controlled sortBy list-view query parameter without checking it against the configured column sortable list allow-list. The value is resolved with getattr(model, ...) and fed into relationship joins and order by(), so a request can sort by any column of the model — including ones hidden from column list — and, via a dotted path, by columns of related models. Because row order then reflects the value of an unexposed column, this is an information-exposure ordering oracle.

Root cause

column sortable list is consulted only in the list template to decide which header links to render; the server never enforces it, so removing a column from the UI does not prevent sorting by it.

Exploitation

A single request leaks the relative ordering of an unexposed column; the ascdesc reversal confirms rows are ordered by the secret's actual value. Pairing sortBy with searchable/filterable columns and pagination can narrow the oracle toward specific values, though value recovery is conditional on having a filterable target column.

Fix

RCE

IDOR

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54529
GHSA-CCG5-9C8W-XH6V
PYSEC-2026-3922

Affected Products

Sqladmin