The issue was addressed with improved checks. This issue is fixed in macOS Monterey 12.7, macOS Ventura 13.6, macOS Sonoma 14. An app may be able to read arbitrary files.
https://support.apple.com/en-us/HT213940
https://support.apple.com/en-us/HT213932
https://support.apple.com/en-us/HT213931
http://seclists.org/fulldisclosure/2023/Oct/6