{"id":"CVE-2026-46645","summary":"SQLAdmin: Authorization Bypass on `ajax_lookup`","details":"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.","aliases":["GHSA-54mc-gghv-4cfj"],"modified":"2026-07-08T08:05:18.085293572Z","published":"2026-06-10T22:23:57.397Z","database_specific":{"cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46645.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/smithyhq/sqladmin/releases/tag/0.25.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46645.json"},{"type":"ADVISORY","url":"https://github.com/smithyhq/sqladmin/security/advisories/GHSA-54mc-gghv-4cfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46645"},{"type":"FIX","url":"https://github.com/smithyhq/sqladmin/commit/b0d3a19fb9b074a9ed243de46930108375dfbb98"},{"type":"FIX","url":"https://github.com/smithyhq/sqladmin/pull/1035"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/smithyhq/sqladmin","events":[{"introduced":"0"},{"fixed":"b0d3a19fb9b074a9ed243de46930108375dfbb98"},{"fixed":"557c00b07aba7eec578ab32277a867bb69fb2420"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.25.1"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["0.25.0","0.24.0","0.23.0","0.22.0","0.21.0","0.20.1","0.20.0","0.19.0","0.18.0","0.17.0","0.16.1","0.16.0","0.15.2","0.15.1","0.15.0","0.14.1","0.14.0","0.13.0","0.12.0","0.11.0","0.10.3","0.10.2","0.10.1","0.10.0","0.9.0","0.8.0","0.7.0","0.6.1","0.6.0","0.5.0","0.4.0","0.3.0","0.2.1","0.2.0","0.1.12","0.1.11","0.1.10","0.1.9","0.1.8","0.1.7","0.1.6","0.1.5","0.1.4","0.1.3","0.1.2","0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46645.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}