Advisory

PYSEC-2026-3924

Also known as: CVE-2026-54553, GHSA-6753-gr46-6wpr

Summary

Starlette-Admin's unvalidated order_by parameter allows ordering by hidden columns (info-exposure oracle) and HTTP 500 DoS

Details

Summary

Affected versions of Starlette-Admin prior to 0.16.1 do not properly validate user-supplied sort and search parameters against the configured field allowlists. While the administrative UI restricts available fields based on field configuration, the backend accepts arbitrary field names supplied through API requests.

An authenticated user can submit crafted requests to sort or filter records using fields that are not intended to be searchable or sortable. Additionally, supplying invalid field names or special Python attribute names can trigger unhandled exceptions that result in HTTP 500 responses.

Impact

An authenticated user with access to affected list endpoints may:

  • Bypass intended UI restrictions and perform sorting or filtering on fields that are not configured as searchable or sortable.
  • Cause affected API requests to fail with HTTP 500 responses by supplying invalid field names or special Python attribute names such as metadata or __class__.

This vulnerability may result in unauthorized use of query functionality and limited denial-of-service conditions affecting the targeted endpoint.

Affected Versions

All versions before 0.16.1.

Patched Versions

  • 0.16.1

Workarounds

There are no known workarounds. Users should upgrade to version 0.16.1 or later.

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

Dates

Published
2026-09-10 09:44 UTC
Modified
2026-09-10 12:15 UTC

Affected packages and fixes

starlette-admin

PyPI · All systems

Affected

  • introduced 0, fixed 0.16.1 (ecosystem)

Fixed versions

0.16.1

Fix

  • Fixed version 0.16.1
    pip install --upgrade starlette-admin==0.16.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences