#VU125378 Execution with unnecessary privileges in nix - CVE-2024-51481
Published: October 31, 2024 / Updated: April 8, 2026
nix
nixos.org
Description
The vulnerability allows a local user to read and modify files outside of the sandbox.
The vulnerability exists due to improper sandbox enforcement in built-in builders when executing built-in builders such as builtin:fetchurl on macOS. A local user can invoke a built-in builder to read and modify files outside of the sandbox.
On affected systems, built-in builders also had permission to create new paths in the Nix store.