This issue was addressed by enabling hardened runtime. This issue is fixed in macOS Monterey 12.6.3, macOS Ventura 13.2, watchOS 9.3, macOS Big Sur 11.7.3, tvOS 16.3, iOS 16.3 and iPadOS 16.3. An app may be able to access user-sensitive data.
https://support.apple.com/en-us/HT213606
https://support.apple.com/en-us/HT213605
https://support.apple.com/en-us/HT213604
https://support.apple.com/en-us/HT213603