This issue was addressed with improved checks. This issue is fixed in iOS 14.7, macOS Big Sur 11.5, watchOS 7.6, tvOS 14.7, Security Update 2021-005 Mojave, Security Update 2021-004 Catalina. A local attacker may be able to cause unexpected application termination or arbitrary code execution.
https://support.apple.com/en-us/HT212605
https://support.apple.com/en-us/HT212604
https://support.apple.com/en-us/HT212603
https://support.apple.com/en-us/HT212602