Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
Nix PATH Double Colon Vulnerability
Nixpkgs wrappers accepted empty PATH values, creating double colons that treat current directory as searchable, enabling local code execution when developers run affected tools from untrusted project folders.
- Disclosed
- 2026-10-13 1 source
A vulnerability in Nixpkgs wrappers that accept empty PATH values, creating double colons (::), which treat the current directory as part of the executable search path. This enables local code execution when developers execute affected tools from untrusted project directories.
Affected Products
The following products are affected 1:
- Azulejo
- Docker CLI
- Buildah
Technical Details
The vulnerability stems from improper PATH handling in Nixpkgs wrapper scripts. When PATH environment variables contain empty components or consecutive colons, Unix-like systems interpret the empty segment as representing the current working directory (.). An attacker can exploit this by placing a malicious executable with the same name as a legitimate tool in an untrusted directory, then tricking a developer into running the tool from that location. The wrapper will search the current directory and execute the attacker's payload instead of the legitimate binary.
This is classified as untrusted-search-path behavior and falls under CWE-426 (Untrusted Search Path) 1.
Impact
The vulnerability allows arbitrary local code execution with the privileges of the user running the affected tool. The attack requires social engineering or user error—developers must be convinced to run the tool from a directory controlled by an attacker.
Disclosure
This vulnerability was disclosed on 2026-10-13 1.
Facts 2
| Attribute | Value | Confidence | Sources | Cited |
|---|---|---|---|---|
| Weakness | CWE-426 | low | 1 | 1 |
| Disclosed | 2026-10-13 | low | 1 | 1 |
Affected product 3
Affects 1
Sources 1
- Nix Vulnerability Can Run Files Hidden in Untrusted Project Folders · LinuxSecurity: Articles