Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. sqladmin
  4. ›
  5. CVE-2026-54529

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

September 9, 2026

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.

References

  • github.com/advisories/GHSA-ccg5-9c8w-xh6v
  • github.com/smithyhq/sqladmin/releases/tag/0.27.1
  • github.com/smithyhq/sqladmin/security/advisories/GHSA-ccg5-9c8w-xh6v
  • nvd.nist.gov/vuln/detail/CVE-2026-54529

Code Behaviors & Features

Detect and mitigate CVE-2026-54529 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.27.1

Fixed versions

  • 0.27.1

Solution

Upgrade to version 0.27.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-248: Uncaught Exception
  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

pypi/sqladmin/CVE-2026-54529.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:07 +0000.