---
title: "CVE-2025-52991: NixOS Nix Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2025-52991: NixOS Nix Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2025-52991 is a published software vulnerability affecting NixOS Nix. CVSS base score: 3.2 (LOW). Published June 27, 2025 by mitre. The Nix, Lix, and Guix package managers default to using temporary build directories in a world-readable and world-writable location. This allows standard users to deceive the package manager into using directories with pre-existing content, potentially leading to unauthorized actions or data.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2025-52991
- Status: Published
- Affected vendor: NixOS
- Affected product: Nix
- Assigner CNA: mitre
- Published date: June 27, 2025
- Last updated: June 27, 2025
- CVSS base score: 3.2 (LOW)
- CVSS vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
- Weakness (CWE): CWE-276 Incorrect Default Permissions

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Avionics shops in the United States](https://specstream.ai/data/businesses/avionics-shops/united-states)
- [Chocolatiers in the United States](https://specstream.ai/data/businesses/chocolatiers/united-states)
- [Event technology companies in the United States](https://specstream.ai/data/businesses/event-technology-companies/united-states)
- [Hyperbaric medicine centers in the United States](https://specstream.ai/data/businesses/hyperbaric-medicine-centers/united-states)
- [Nepalese restaurants in the United States](https://specstream.ai/data/businesses/nepalese-restaurants/united-states)
- [Restaurant equipment suppliers in the United States](https://specstream.ai/data/businesses/restaurant-equipment-suppliers/united-states)
