Anaconda3 macOS installers before 2024.06-1 contain a local privilege escalation vulnerability when installed outside the user's home directory. During installation, world-writable files are created and executed with root privileges. This allows a local low-privileged user to inject arbitrary commands, leading to code execution as the root user.
https://www.anaconda.com/docs/getting-started/anaconda/release/2024.x#anaconda-2024-06-1
https://m8sec.dev/blog/privilege-escalation-macos-pkg-installers/