A privacy issue was addressed with improved private data redaction for log entries. This issue is fixed in macOS Sonoma 14.1, iOS 17.1 and iPadOS 17.1. An app may be able to access sensitive user data.
https://support.apple.com/kb/HT213984
https://support.apple.com/kb/HT213982
https://support.apple.com/en-us/HT213984
https://support.apple.com/en-us/HT213982