A race condition was addressed with improved state handling. This issue is fixed in watchOS 9.5, tvOS 16.5, macOS Ventura 13.4, iOS 15.7.6 and iPadOS 15.7.6, macOS Big Sur 11.7.7, macOS Monterey 12.6.6, iOS 16.5 and iPadOS 16.5. An app may be able to gain root privileges.
https://support.apple.com/en-us/HT213765
https://support.apple.com/en-us/HT213764
https://support.apple.com/en-us/HT213761
https://support.apple.com/en-us/HT213760
https://support.apple.com/en-us/HT213759