An access issue was addressed with additional sandbox restrictions. This issue is fixed in macOS Ventura 13.6.4, macOS Sonoma 14.2. An app may be able to read arbitrary files.
https://support.apple.com/kb/HT214036
https://support.apple.com/en-us/HT214058