Vulnerability

CVE-2026-54529

mediumCVSS 3.1 5.3Published 14 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /smithyhq/sqladmin/commit/741635f18f93c020bfe355167ab257da9…
  • github.com /smithyhq/sqladmin/releases/tag/0.27.1
  • github.com /smithyhq/sqladmin/security/advisories/GHSA-ccg5-9c8w-xh6v

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning