SQLAdmin: Authorization Bypass on `ajax_lookup`
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-862.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| smithyhq | sqladmin | before 0.25.1 | 0.25.1 | Patch available | CNA |
| — | sqladmin (PyPI) | before 0.25.1 | 0.25.1 | Patch available | GHSA-54mc-gghv-4cfj |
- sqladmin Vendorsmithyhq Affected before 0.25.1 Fixed in 0.25.1 Patch available CNA
- sqladmin (PyPI) Vendor— Affected before 0.25.1 Fixed in 0.25.1 Patch available GHSA-54mc-gghv-4cfj
Remediation
- Fix · CNA sqladmin (smithyhq) Fixed in 0.25.1
- Fix · GHSA-54mc-gghv-4cfj sqladmin (PyPI) Fixed in 0.25.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46645
- 2026-10-03 Alias added: GHSA-54mc-gghv-4cfj
References
Other 5
More smithyhq vulnerabilities
- TI-2026-39374 SQLAdmin: Unvalidated sortBy parameter in `ModelView` bypasses `column_sortable_list` CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-46645 · CVE Program
- CVE-2026-46645 · NVD
- FIRST EPSS
- GHSA-54mc-gghv-4cfj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences