This issue was addressed through improved state management. This issue is fixed in iOS 17.7 and iPadOS 17.7, Xcode 16, visionOS 2, watchOS 11, macOS Sequoia 15, iOS 18 and iPadOS 18, tvOS 18. An app may gain unauthorized access to Bluetooth.
https://support.apple.com/en-us/121250
https://support.apple.com/en-us/121249
https://support.apple.com/en-us/121248
https://support.apple.com/en-us/121246
https://support.apple.com/en-us/121240