Impact
Local privilege escalation affecting all NixOS users. With systemd.shutdownRamfs.enable
enabled (the default) a local user is able to create a program that will be executed by root
during shutdown.
Patches
Patches exist for NixOS 24.11 and 25.05 / unstable.
Workarounds
Set systemd.shutdownRamfs.enable = false;
References
Details of the vulnerability were shared in private.
Impact
Local privilege escalation affecting all NixOS users. With
systemd.shutdownRamfs.enable
enabled (the default) a local user is able to create a program that will be executed byroot
during shutdown.Patches
Patches exist for NixOS 24.11 and 25.05 / unstable.
Workarounds
Set
systemd.shutdownRamfs.enable = false;
References
Details of the vulnerability were shared in private.