SQLAdmin: Authorization Bypass on `ajax_lookup`
Title source: cnaExploitation Summary
EIP tracks 1 public exploit for CVE-2026-46645. PoCs published by rootdirective-sec.
AI-analyzed exploit summary This repository contains a functional PoC for CVE-2026-46645, demonstrating an authorization bypass in SQLAdmin's ajax_lookup endpoint. It includes a Docker lab with vulnerable and patched versions, along with a Python script to reproduce the issue.
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.
Exploits (1)
This repository contains a functional PoC for CVE-2026-46645, demonstrating an authorization bypass in SQLAdmin's ajax_lookup endpoint. It includes a Docker lab with vulnerable and patched versions, along with a Python script to reproduce the issue.
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N