# CVE-2026-46645: SQLAdmin: Authorization Bypass on `ajax_lookup`

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-05-21T21:31:40.000Z
- Modified: 2026-07-23T09:10:00.113Z
- Also known as: GHSA-54mc-gghv-4cfj, PYSEC-2026-3073
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- smithyhq sqladmin: < 0.25.1
- sqladmin (PyPI): before 0.25.1

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/smithyhq/sqladmin/security/advisories/GHSA-54mc-gghv-4cfj> (web)
- <https://github.com/smithyhq/sqladmin/pull/1035> (web)
- <https://github.com/smithyhq/sqladmin/commit/b0d3a19fb9b074a9ed243de46930108375dfbb98> (web)
- <https://github.com/smithyhq/sqladmin/releases/tag/0.25.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-46645> (advisory)
- <https://github.com/smithyhq/sqladmin> (package)
- <https://pypi.org/project/sqladmin> (package)
- <https://github.com/advisories/GHSA-54mc-gghv-4cfj> (advisory)

## Sources

- CVE List: [CVE-2026-46645](https://www.cve.org/CVERecord?id=CVE-2026-46645), CVE Terms of Use, modified 2026-06-11
- GitHub Advisory Database: [GHSA-54mc-gghv-4cfj](https://github.com/advisories/GHSA-54mc-gghv-4cfj), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-46645](https://nvd.nist.gov/vuln/detail/CVE-2026-46645), Public domain, modified 2026-07-23
- PyPA Advisory Database: [PYSEC-2026-3073](https://osv.dev/vulnerability/PYSEC-2026-3073), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-46645 · Whole record: https://cve.day/CVE-2026-46645.json · Rebuilt by cve.day 2026-11-25T22:59:24.393Z
