chore(deps): update dependency sqladmin to v0.25.1 [security]#850
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency sqladmin to v0.25.1 [security]#850renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
🟢 Coverage ∅ diff coverage · +0.00% coverage variation
Metric Results Coverage variation ✅ +0.00% coverage variation (-1.00%) Diff coverage ✅ ∅ diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (41298bd) 2524 2524 100.00% Head commit (59c3b71) 2524 (+0) 2524 (+0) 100.00% (+0.00%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#850) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.25.0→0.25.1SQLAdmin: Authorization Bypass on
ajax_lookupCVE-2026-46645 / GHSA-54mc-gghv-4cfj
More information
Details
Impact
The
ajax_lookupendpoint inapplication.pybypasses theis_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 theajax_lookupendpoint — silently bypassing the restriction.Affected endpoint:
GET /{identity}/ajax/lookup?name=<field>&term=<query>All other endpoints enforce both checks:
@login_requiredis_accessible()listcreateeditdeletedetailsexportajax_lookup(before fix)ajax_lookup(after fix)Note: before this fix,
ajax_lookupalso lacked the@login_requireddecorator — unauthenticated users could query it directly. That was addressed in #1035. This report covers the remaining gap: authenticated but unauthorized users.Patches
Two changes were made to
ajax_lookup:@login_requireddecorator used by all other endpoints.is_accessible(request)check, raisingHTTP 403when it returnsFalse.Workarounds
None. Developers relying on
is_accessible()to restrict model visibility are exposed regardless of what other access controls are in place.Severity
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
smithyhq/sqladmin (sqladmin)
v0.25.1Compare Source
Fixed
ajax_lookupConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.