Description
SQLAdmin is a flexible Admin interface for SQLAlchemy models. Prior to version 0.25.1, the ajax_lookup endpoint in application.py bypasses the is_accessible() access control check that all other endpoints enforce. If a developer restricts model access by overriding is_accessible(), an authenticated user can still query that model's data through the ajax_lookup endpoint — silently bypassing the restriction. This issue has been patched in version 0.25.1.
Problem types
CWE-862: Missing Authorization
Product status
References
github.com/...ladmin/security/advisories/GHSA-54mc-gghv-4cfj
github.com/smithyhq/sqladmin/pull/1035
github.com/...ommit/b0d3a19fb9b074a9ed243de46930108375dfbb98
github.com/smithyhq/sqladmin/releases/tag/0.25.1