SecurityContext

CVE-2025-53819: Nix - Privilege Escalation

  • Cve: CVE-2025-53819
  • Name: Nix - Privilege Escalation
  • Description: Nix is a package manager for Linux and other Unix systems. Builds with Nix 2.30.0 on macOS were executed with elevated privileges (root), instead of the build users. The fix was applied to Nix 2.30.1. No known workarounds are available.
  • Impact: Attackers can gain root privileges during builds, leading to full system compromise.
  • Remediation: Upgrade to version 2.30.1 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.9
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L
  • Epss score: 0.00147
  • Epss percentile: 0.03827
  • Assignee: [email protected]
  • Published at: 2025-07-14T21:15:28Z
  • Age in days: 498
  • Modified at: 2026-06-17T09:38:58Z
  • References total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-53819
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-271Privilege Dropping / Lowering Errors

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/NixOS/nix/commit/e2ef2cfcbc83ea01308ee64c38a58707ab23dec3
https://github.com/NixOS/nix/pull/13281
https://github.com/NixOS/nix/pull/13455
https://github.com/NixOS/nix/security/advisories/GHSA-qc7j-jgf3-qmhg

Projects

RepositoryLink kindsIndexedUrl
NixOS/nixcommit, fix, pull, security_advisoryyes/v1/repositories/NixOS/nix

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts