User and group queries are not properly restricted via GraphQL API in v4.0.2 Re-Open #16228
Labels
severity: high
Completely breaks certain functions, or substantially degrades performance application-wide
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v4.0.2
Python Version
3.10
Steps to Reproduce
This is is to re-opent #7814
Create New Group netbox-graphql. Don't add any permission to the group.
Add new user to the group
Login as new user
Access https://netbox/graphql
query {
user_list{
username
password
}
}
Username and hash in password returned.
Expected Behavior
Empty result retured because the user in a group without permission to Group/User view.
Observed Behavior
All Username and hash in Database returned.
The text was updated successfully, but these errors were encountered: