A privacy issue was addressed with improved handling of temporary files. This issue is fixed in iOS 17.5 and iPadOS 17.5. An app may be able to access Notes attachments.Referenceshttps://support.apple.com/en-us/HT214101https://support.apple.com/kb/HT214101