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.
Published: 2026-06-10
Score: 4.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SQLAdmin is a flexible administrator interface for SQLAlchemy models. The vulnerable ajax_lookup endpoint, used to query models via AJAX, was incorrectly implemented to skip the is_accessible() access control check that safeguards all other endpoints. A developer who restricts access to a model by overriding is_accessible() is therefore unable to prevent an authenticated user from retrieving that model's data through ajax_lookup, silently violating intended restrictions. This flaw does not grant arbitrary code execution or data modification; its primary impact is unauthorized read access to data that should be hidden from the user in question.

Affected Systems

The affected software is smithyhq SQLAdmin. All releases prior to version 0.25.1 allow the bypass. The fix was released in 0.25.1, so any version earlier than that is vulnerable. No other vendors or products are reported to be affected.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting that the likelihood of widespread exploitation is currently low but not impossible. The vulnerability is exploitable by any authenticated user who can invoke the ajax_lookup URL; no privileged escalation or network-level attack is required. The attack vector is an authenticated insider or a compromised user account that can use the public endpoint. Because the flaw only allows data read, it does not compromise confidentiality globally but can expose sensitive application data to users who should be denied access.

Generated by OpenCVE AI on June 11, 2026 at 00:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SQLAdmin to version 0.25.1 where the ajax_lookup bypass has been removed
  • After upgrading, confirm that is_accessible() overhead is still applied to all endpoints, including ajax_lookup, especially if custom access logic was added
  • If ajax_lookup is not essential for the application, disable or restrict the endpoint to reduce the attack surface
  • Establish monitoring of the ajax_lookup endpoint for unexpected or unauthorized activity, and enforce rate limiting or IP restrictions as further safeguards

Generated by OpenCVE AI on June 11, 2026 at 00:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-54mc-gghv-4cfj SQLAdmin: Authorization Bypass on `ajax_lookup`
History

Wed, 10 Jun 2026 23:15:00 +0000

Type Values Removed Values Added
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.
Title SQLAdmin: Authorization Bypass on `ajax_lookup`
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-10T22:23:57.397Z

Reserved: 2026-05-15T20:11:54.584Z

Link: CVE-2026-46645

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-10T23:16:47.310

Modified: 2026-06-10T23:16:47.310

Link: CVE-2026-46645

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-11T00:30:45Z

Weaknesses