A privacy issue was addressed with improved handling of temporary files. This issue is fixed in macOS Sonoma 14.4, iOS 17.4 and iPadOS 17.4, watchOS 10.4. An app may be able to access user-sensitive data.
https://support.apple.com/en-us/HT214088
https://support.apple.com/en-us/HT214084
https://support.apple.com/en-us/HT214081