A permissions issue was addressed with additional restrictions. This issue is fixed in macOS Ventura 13.6, tvOS 17, iOS 16.7 and iPadOS 16.7, macOS Monterey 12.7, watchOS 10, iOS 17 and iPadOS 17, macOS Sonoma 14. An app may be able to delete files for which it does not have permission.
seclists.org/fulldisclosure/2023/Oct/10
seclists.org/fulldisclosure/2023/Oct/3
seclists.org/fulldisclosure/2023/Oct/4
seclists.org/fulldisclosure/2023/Oct/5
seclists.org/fulldisclosure/2023/Oct/6
seclists.org/fulldisclosure/2023/Oct/8
support.apple.com/en-us/HT213927
support.apple.com/en-us/HT213931
support.apple.com/en-us/HT213932
support.apple.com/en-us/HT213936
support.apple.com/en-us/HT213937
support.apple.com/en-us/HT213938
support.apple.com/en-us/HT213940