A vulnerability was found in Apple macOS. It has been rated as critical. Affected by this issue is some unknown functionality of the component Environment Variable Handler. The manipulation leads to improper access controls.

This vulnerability is handled as CVE-2024-40842. An attack has to be approached locally. There is no exploit available.

It is recommended to upgrade the affected component.