CVE-2025-52992: The Nix, Lix, and Guix package managers fail to properly set permissions when a derivation build fails
Affects guixSource GCVE Database
Not known to be exploited · CVSS 3.2 Low.
Data as of 24 Nov 2026, 20:10 UTC
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 24.04 LTSguixpkg:deb/ubuntu/guix?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSguixpkg:deb/ubuntu/guix?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The Nix, Lix, and Guix package managers fail to properly set permissions when a derivation build fails. This may allow arbitrary processes to modify the content of a store outside of the build sandbox. This affects Nix before 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix before 2.91.2, 2.92.2, and 2.93.1; and Guix before 1.4.0-38.0e79d5b.
References
- ubuntu.com/security/CVE-2025-52992 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-52992 (opens in a new tab)
- guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/ (opens in a new tab)
- codeberg.org/guix/guix/pulls/788 (opens in a new tab)
- codeberg.org/guix/guix/commit/7173c2c0cad8afc9d8d1ad26f345b5a04f47716a (opens in a new tab)
- codeberg.org/guix/guix/commit/be8aca065118aa4485c02f991c51bea89034defa (opens in a new tab)
- codeberg.org/guix/guix/commit/fb42611b8f27960304db5a1c0d33b8371dcde2a8 (opens in a new tab)
- codeberg.org/guix/guix/commit/c659f977bb09de6d5615e6aa9efddedc1d9ff458 (opens in a new tab)
- codeberg.org/guix/guix/commit/0e79d5b6550729e6ce3bac1e979638ac054ba5a5 (opens in a new tab)
- codeberg.org/guix/guix/commit/30a5d140aa5a789a362749d057754783fea83dde (opens in a new tab)