Intel

AIKIDO-2026-573121

nix-nar is vulnerable to Path Traversal

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 4 days ago
November 16, 2026

75

CVE Score

High

Path Traversal

Are you affected? Scan for Free

TL;DR

Decoder::unpack does not contain symlink targets or later entries that pass through those symlinks. A crafted NAR archive can create a symlink and then write a file through it, outside the destination directory.

How do I fix this?

Upgrade the nix-nar library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.1.0 - 0.5.0

Fixed in 0.6.0

Background info

nix-nar is vulnerable to Path Traversal in versions 0.1.0 - 0.5.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea