SB20250716131 - Privilege escalation in Nix package manager
Published: July 16, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Untrusted search path (CVE-ID: CVE-2024-38531)
CWE-ID: CWE-426 - Untrusted Search Path
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to usage of an untrusted search path during the build process. A local user can place a malicious setuid binary into a globally accessible location and assume the permissions of a Nix daemon worker and hijack all future builds.
Remediation
Install update from vendor's website.