CVE-2025-46416
Linux Debian vulnerability analysis and mitigation

Overview

The vulnerability CVE-2025-46416 affects the Nix, Lix, and Guix package managers, allowing a bypass of build isolation where users can elevate their privileges to the build user account (e.g., nixbld or guixbuild). This vulnerability was discovered in June 2025 and affects Nix through versions 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix through versions 2.91.2, 2.92.2, and 2.93.1; and Guix before version 1.4.0-38.0e79d5b (NVD, Wiz).

Technical details

The vulnerability exploits Linux's abstract UNIX domain sockets, which enable processes in the same network namespace to communicate via Unix-domain sockets, regardless of other namespace states. The attack involves file descriptor smuggling between build processes, allowing privilege escalation to build user accounts. The vulnerability has a CVSS 3.1 Base Score of 2.9 (LOW) with vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N and is classified under CWE-282 (Improper Ownership Management) (Wiz, Guix Blog).

Impact

When exploited, this vulnerability allows any user with the ability to start a derivation build to gain the privileges of build users (nixbld or guixbuild). This is particularly concerning for multi-user systems and any system where untrusted code may access the daemon's socket. The vulnerability requires the ability to run arbitrary code in the root PID and network namespaces on the machine where the build occurs (Guix Blog).

Mitigation and workarounds

The vulnerability has been patched in multiple versions: Nix 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix 2.91.2, 2.92.2, and 2.93.1 (with Pasta or LSM mitigations enabled); and Guix 1.4.0-38.0e79d5b. For Lix specifically, the Pasta mitigation can be disabled by setting an empty pasta-path in /etc/nix/nix.conf. Users are strongly advised to upgrade their package managers immediately to the fixed versions (Lix Blog, NixOS Discourse).

Community reactions

The community response has focused on the importance of proper build isolation and the need for better security practices in package management systems. The vulnerability was discovered and reported through coordinated disclosure, demonstrating effective collaboration between security researchers and affected projects (Guix Blog, Lix Blog).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67726HIGH7.5
  • Linux DebianLinux Debian
  • python-tornado
NoNoDec 12, 2025
CVE-2025-67725HIGH7.5
  • Linux DebianLinux Debian
  • python-tornado
NoNoDec 12, 2025
CVE-2025-67724MEDIUM5.4
  • Linux DebianLinux Debian
  • python-tornado
NoNoDec 12, 2025
CVE-2025-64702MEDIUM5.3
  • SyncthingSyncthing
  • buf
NoYesDec 11, 2025
CVE-2025-40345N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management