8.8high
Local privilege escalation in make-initrd-ng
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
make-initrd-ng is a tool for copying binaries and their dependencies. 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 exist for NixOS 24.11 and 25.05 / unstable. As a workaround, set systemd.shutdownRamfs.enable = false;.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| NixOS nixpkgs | < b17590193d8e5697000c23c66afcf11e1753734d, < fbf76bf72b161b9f4ab97704a8258776d5f3ffba | CVE List |
Classification
What each source says
CVE List
make-initrd-ng is a tool for copying binaries and their dependencies. 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 exist for NixOS 24.11 and 25.05 / unstable. As a workaround, set systemd.shutdownRamfs.enable = false;.
NVD (es)
make-initrd-ng es una herramienta para copiar binarios y sus dependencias. La escalada de privilegios locales afecta a todos los usuarios de NixOS. Con systemd.shutdownRamfs.enable habilitado (predeterminado), un usuario local puede crear un programa que serĂ¡ ejecutado por root durante el apagado. Existen parches para NixOS 24.11 y 25.05 (inestable). Como workaround, configure systemd.shutdownRamfs.enable = false;.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-32438 changed 2025-04-15 | CVE Terms of Use |
| NVD | CVE-2025-32438 changed 2026-06-17 | Public domain |