A permissions issue was addressed with additional restrictions. This issue is fixed in macOS Sonoma 14.1, macOS Monterey 12.7.1, macOS Ventura 13.6.1. An app may be able to access sensitive user data.
https://support.apple.com/kb/HT213985
https://support.apple.com/kb/HT213984
https://support.apple.com/kb/HT213983
https://support.apple.com/en-us/HT213985
https://support.apple.com/en-us/HT213984
https://support.apple.com/en-us/HT213983
http://seclists.org/fulldisclosure/2023/Oct/26