A logic issue was addressed with improved restrictions. This issue is fixed in macOS Sonoma 14.4, macOS Monterey 12.7.4. An app from a standard user account may be able to escalate privilege after admin user login.
https://support.apple.com/en-us/HT214084
https://support.apple.com/en-us/HT214083