Skip to content
OpenAdvisories
Medium · 5.6 CVE-2025-52993 EUVD-2025-19378GHSA-hpxm-4hff-8prf

A race condition in the Nix, Lix, and Guix package managers enables changing the ownership of arbitrary files to the UID and GID of the bui…

Published Jun 27, 2025 · Updated Jun 27, 2025 · Assigned by mitre

Description

A race condition in the Nix, Lix, and Guix package managers enables changing the ownership of arbitrary files to the UID and GID of the build user (e.g., nixbld* or guixbuild*). 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.

Affected products

VendorProductAffectedFixed
NixOS Nix < 2.24.15, 2.25.0 – < 2.26.4, 2.27.0 – < 2.28.4, 2.29.0 – < 2.29.1 2.24.15

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 guix No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS guix No fix yet —
Ubuntu Pro 22.04 LTS guix No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nix 2.29.1-1.1 openSUSE-SU-2025:15248-1

Advisories 1

References