switz opened a new issue, #60451:
URL: https://github.com/apache/doris/issues/60451

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   4.0.2
   
   ### What's Wrong?
   
   A user that has access to one database can access data on information schema 
beyond their permissions.
   
   Here I'm seeing admin queries despite querying from a subset user. This has 
potential data leak - a user querying infromation_schema can see other stuff 
going on that they don't have permission to.
   
   <img width="1222" height="856" alt="Image" 
src="https://github.com/user-attachments/assets/4fc585d0-da74-4fca-802d-d0d5b1871ae4";
 />
   
   Trying to revoke access to subset tables of information_schema throws an 
error too. Accessing information_schema.tables does properly filter data to 
only data the user has access to.
   
   ### What You Expected?
   
   All tables in information_schema should never leak any data outside the 
permissions of that users role.
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to