Skip to main content

An issue was discovered in Nix before 2.34.7. (CVE-2026-44029)

0
Medium
Published: 05/05/2026 (05/05/2026, 01:16:00 UTC)
Source: GCVE Database
Product: nix

Description

A directory traversal vulnerability in Nix before version 2.34.7 allows writing to arbitrary files via the 'nix-prefetch-url --unpack' or 'nix store prefetch-file --unpack' commands. This issue affects multiple versions starting from 2.24.7 up to but not including 2.34.7. The vulnerability has a medium severity with a CVSS score of 5.3 and does not impact confidentiality or availability but can lead to integrity loss. Fixed versions include 2.34.7 and several earlier patch releases.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected software

Ubuntu:Pro:22.04:LTSmore threats →ghsa
nix
pkg:deb/ubuntu/nix?arch=source&distro=esm-apps/jammy
Affected versions
=2.3.10+dfsg1-1=2.3.10+dfsg1-1build1=2.6.0+dfsg-2=2.6.0+dfsg-3=2.6.0+dfsg-3ubuntu0.1~esm1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
nix
pkg:deb/ubuntu/nix?arch=source&distro=esm-apps/noble
Affected versions
=2.16.1+dfsg-3ubuntu1=2.18.1+dfsg-1ubuntu1=2.18.1+dfsg-1ubuntu2=2.18.1+dfsg-1ubuntu4=2.18.1+dfsg-1ubuntu5=2.18.1+dfsg-1ubuntu5+esm2
Ubuntu:25.10more threats →ghsa
nix
pkg:deb/ubuntu/nix?arch=source&distro=questing
Affected versions
=2.24.9+dfsg-2ubuntu2=2.26.3+dfsg-1ubuntu1=2.26.3+dfsg-1ubuntu2=2.26.3+dfsg-1ubuntu4
Ubuntu:26.10more threats →ghsa
nix
pkg:deb/ubuntu/nix?arch=source&distro=stonking
Affected versions
=2.34.3+dfsg-1=2.34.6+dfsg-1=2.34.6+dfsg-1build1=2.34.8+dfsg-1=2.34.8+dfsg-1build1
Ubuntu:26.04:LTSmore threats →ghsa
nix
pkg:deb/ubuntu/nix?arch=source&distro=resolute
Affected versions
=2.26.3+dfsg-1ubuntu4=2.26.3+dfsg-1ubuntu5=2.32.5+dfsg-1ubuntu3=2.32.5+dfsg-2ubuntu1=2.34.3+dfsg-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 22:37:45 UTC

Technical Analysis

CVE-2026-44029 is a directory traversal vulnerability in Nix versions prior to 2.34.7, introduced in 2.24.7. It allows an attacker to write to arbitrary files by exploiting the 'nix-prefetch-url --unpack' or 'nix store prefetch-file --unpack' commands. This can lead to integrity compromise of the system or files. The vulnerability has been addressed in versions 2.34.7, 2.33.6, 2.32.8, 2.31.5, 2.30.5, 2.29.4, and 2.28.7. The CVSS v3.1 base score is 5.3, indicating medium severity with network attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality or availability impact, and low integrity impact.

Potential Impact

The vulnerability allows an unauthenticated attacker to write to arbitrary files on the system by exploiting directory traversal in specific Nix commands. This can lead to unauthorized modification of files, potentially affecting system integrity. There is no impact on confidentiality or availability according to the CVSS vector. No known exploits are reported in the wild.

Mitigation Recommendations

Upgrade Nix to version 2.34.7 or later. Alternatively, apply any of the fixed versions 2.33.6, 2.32.8, 2.31.5, 2.30.5, 2.29.4, or 2.28.7 if applicable. No other mitigation or temporary workaround is indicated. Patch status is confirmed by the vendor's fixed version releases.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-44029
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad3f6772cdf04f6566662b6

Added to database: 10/17/2026, 22:28:07 UTC

Last enriched: 10/17/2026, 22:37:45 UTC

Last updated: 10/17/2026, 22:37:45 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses